libata: implement ATA_DFLAG_DUBIOUS_XFER
authorTejun Heo <htejun@gmail.com>
Tue, 27 Nov 2007 10:28:58 +0000 (19:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:11 +0000 (05:24 -0500)
commit00115e0f5bc3bfdf3f3855ad89c8895f10458f92
tree5f174c1d68e1ec0770fefdb40b813f321a838095
parent663f99b86ac7d4c0eed8c239638da0ea8849288b
libata: implement ATA_DFLAG_DUBIOUS_XFER

ATA_DFLAG_DUBIOUS_XFER is set whenever data transfer speed or method
changes and gets cleared when data transfer command succeeds in the
newly configured transfer mode.

This will be used to improve speed down logic.

Signed-off-by: Tejun Heo <htejun@gmail.com<
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
include/linux/libata.h