linux/drivers/scsi/aic94xx
James Bottomley cb84e2d2ff [SCSI] aic94xx: fix REQ_TASK_ABORT and REQ_DEVICE_RESET
This driver has been failing under heavy load with

aic94xx: escb_tasklet_complete: REQ_TASK_ABORT, reason=0x6
aic94xx: escb_tasklet_complete: Can't find task (tc=4) to abort!

The second message is because the driver fails to identify the task
it's being asked to abort.  On closer inpection, there's a thinko in
the for each task loop over pending tasks in both the REQ_TASK_ABORT
and REQ_DEVICE_RESET cases where it doesn't look at the task on the
pending list but at the one on the ESCB (which is always NULL).

Fix by looking at the right task.  Also add a print for the case where
the pending SCB doesn't have a task attached.

Not sure if this will fix all the problems, but it's a definite first
step.

Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-02-18 08:57:15 -06:00
..
aic94xx_dev.c [SCSI] libsas: Convert sas_proto users to sas_protocol 2008-01-11 18:22:41 -06:00
aic94xx_dump.c [SCSI] libsas: Convert sas_proto users to sas_protocol 2008-01-11 18:22:41 -06:00
aic94xx_dump.h
aic94xx_hwi.c [SCSI] libsas: Convert sas_proto users to sas_protocol 2008-01-11 18:22:41 -06:00
aic94xx_hwi.h [SCSI] aic94xx: update BIOS image from user space. 2008-01-11 18:22:30 -06:00
aic94xx_init.c [SCSI] aic94xx: fix section mismatches 2008-01-11 18:28:04 -06:00
aic94xx_reg_def.h [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_sas.h [SCSI] aic94xx: fix ABORT_TASK define conflict 2008-02-11 13:36:31 -06:00
aic94xx_scb.c [SCSI] aic94xx: fix REQ_TASK_ABORT and REQ_DEVICE_RESET 2008-02-18 08:57:15 -06:00
aic94xx_sds.c [SCSI] aic94xx: update BIOS image from user space. 2008-01-11 18:22:30 -06:00
aic94xx_sds.h [SCSI] aic94xx: update BIOS image from user space. 2008-01-11 18:22:30 -06:00
aic94xx_seq.c [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
aic94xx_seq.h [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
aic94xx_task.c [SCSI] libsas: abstract STP task status into a function 2008-01-25 11:47:23 -06:00
aic94xx_tmf.c [SCSI] aic94xx: fix ABORT_TASK define conflict 2008-02-11 13:36:31 -06:00
aic94xx.h [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
Kconfig
Makefile Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00