kernel-fxtec-pro1x/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.h
aic94xx_dev.c
aic94xx_dump.c
aic94xx_dump.h
aic94xx_hwi.c
aic94xx_hwi.h
aic94xx_init.c
aic94xx_reg.c
aic94xx_reg.h
aic94xx_reg_def.h
aic94xx_sas.h
aic94xx_scb.c
aic94xx_sds.c
aic94xx_sds.h
aic94xx_seq.c
aic94xx_seq.h
aic94xx_task.c
aic94xx_tmf.c
Kconfig
Makefile