On Thu, 29 Nov 2007 23:33:28 +0900 Tejun Heo <htejun@xxxxxxxxx> wrote: > Depending on how many bytes are transferred as a unit, PIO data > tranasfer may consume more bytes than requested. Knowing how much > data is consumed is necessary to determine how much is left for > draining. This patch update ->data_xfer such that it returns the > number of consumed bytes. Why do we care ? If the drive and controller disagree or the drive has gone off its trolley all we actually care about is when the thing stops saying there is data. In addition all our methods transfer the entire block they are asked to each time. Alan - 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