Re: [PATCH 06/14] libata: improve ATAPI draining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:
>> * Limit the amount of draining to ATAPI_MAX_DRAIN (16k currently).
> 
> Why 16 not 64K ?
> 
> Please add a comment to note that the drivers assume
> - drain is only ever done on a stuck PIO xfer

No.  ATAPI draining is to accommodate buggy software and hardware and
it's for all misc ATAPI commands whether PIO or DMA.

> - drain occurs before any controller error/reset handling is done

This is part of normal command processing, not really related to EH.

Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux