]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9d76eb50e05508cbba767f7e2cdf36bcbdc15fbe
tree66e24eddb174d6751579ec5952f72cbbac0fb038
parent914703f877dd7002839584e9a0ba848136c3e6ab
[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