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