kernel_optimize_test/drivers/ata
Tejun Heo 5ddf24c5ea libata: implement EH fast drain
In most cases, when EH is scheduled, all in-flight commands are
aborted causing EH to kick in immediately.  However, in some cases
(especially with PMP), it's unclear which commands are affected by the
error condition and although aborting all in-flight commands work, it
isn't optimal and may cause unnecessary disruption.  On the other
hand, waiting for in-flight commands to drain themselves can take up
to 30seconds.

This patch implements EH fast drain to handle such situations.  It
gives in-flight commands some time to finish up but doesn't wait for
too long.  After EH is scheduled, fast drain timer is started and if
no other completion occurs in ATA_EH_FASTDRAIN_INTERVAL all in-flight
commands are aborted.  If any completion occurred in the interval, the
port is given another interval to finish up itself.

Currently ATA_EH_FASTDRAIN_INTERVAL is 3 secs which should be enough
for finishing up most commands.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-20 08:26:26 -04:00
..
ahci.c The SATA controller device ID is different according to 2007-07-20 08:07:46 -04:00
ata_generic.c
ata_piix.c
Kconfig
libata-acpi.c
libata-core.c libata: implement EH fast drain 2007-07-20 08:26:26 -04:00
libata-eh.c libata: implement EH fast drain 2007-07-20 08:26:26 -04:00
libata-scsi.c libata: improve SCSI scan failure handling 2007-07-20 08:26:25 -04:00
libata-sff.c [libata] Fix reported task file values in sense data 2007-07-20 07:44:44 -04:00
libata.h libata: implement EH fast drain 2007-07-20 08:26:26 -04:00
Makefile
pata_ali.c
pata_amd.c
pata_artop.c
pata_atiixp.c
pata_cmd64x.c
pata_cmd640.c
pata_cs5520.c
pata_cs5530.c
pata_cs5535.c
pata_cypress.c
pata_efar.c
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c
pata_hpt366.c
pata_icside.c
pata_isapnp.c
pata_it821x.c
pata_it8213.c
pata_ixp4xx_cf.c
pata_jmicron.c
pata_legacy.c
pata_marvell.c
pata_mpc52xx.c
pata_mpiix.c
pata_netcell.c
pata_ns87410.c
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_pcmcia.c
pata_pdc202xx_old.c
pata_pdc2027x.c
pata_platform.c pata_platform: Fix NULL pointer dereference 2007-07-20 07:16:24 -04:00
pata_qdi.c
pata_radisys.c
pata_rz1000.c
pata_sc1200.c
pata_scc.c [libata] Fix reported task file values in sense data 2007-07-20 07:44:44 -04:00
pata_serverworks.c
pata_sil680.c
pata_sis.c
pata_sl82c105.c
pata_triflex.c
pata_via.c
pata_winbond.c
pdc_adma.c
sata_inic162x.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_mv.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_nv.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_promise.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_promise.h
sata_qstor.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_sil.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_sil24.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_sis.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_svw.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_sx4.c
sata_uli.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_via.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sata_vsc.c libata: make ->scr_read/write callbacks return error code 2007-07-20 08:02:11 -04:00
sis.h