[libata] Improve timeout handling
authorAlan Cox <alan@redhat.com>
Tue, 24 Mar 2009 10:23:46 +0000 (10:23 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:52:39 +0000 (22:52 -0400)
commitc96f1732e25362d10ee7bcac1df8412a2e6b7d23
tree66e24eddb174d6751579ec5952f72cbbac0fb038
parent3d47aa8e7e7b2aa09256590388aa8dddc79280f9
[libata] Improve timeout handling

On a timeout call a device specific handler early in the recovery so that
we can complete and process successful commands which timed out due to IRQ
loss or the like rather more elegantly.

[Revised to exclude the timeout handling on a few devices that inherit from
 SFF but are not SFF enough to use the default timeout handler]

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c
drivers/ata/libata-sff.c
drivers/ata/pata_isapnp.c
drivers/ata/pdc_adma.c
drivers/ata/sata_mv.c
drivers/ata/sata_nv.c
drivers/ata/sata_promise.c
drivers/ata/sata_qstor.c
drivers/ata/sata_vsc.c
include/linux/libata.h