ATA-Raid 1 one patch

Søren Schmidt sos at FreeBSD.org
Thu Aug 4 12:31:54 GMT 2005


On 04/08/2005, at 0:55, Benjamin Close wrote:

> Hi All,
>    Here's just a little cleanup I found whilst looking into  
> ataenclosure support:
>
> --- /home/benjsc/work/freebsd/src/sys/dev/ata/ata-raid.c        Mon  
> Jul 18 17:01:40 2005
> +++ ata-raid.c  Wed Aug  3 22:51:58 2005
> @@ -3113,7 +3113,6 @@
> {
>     struct ata_device *atadev = device_get_softc(request->dev);
>  -    request->transfersize = min(request->bytecount, atadev- 
> >max_iosize);
>     request->transfersize = DEV_BSIZE;
>     if (request->flags & ATA_R_READ) {
>        if (atadev->mode >= ATA_DMA) {

Yep, that one is sitting in my local tree as well as a few other  
nits, I'll try to get them into 6.0 if possible.

- Søren





More information about the freebsd-current mailing list