OpenCloudOS-Kernel/drivers/scsi/aic94xx
Darrick J. Wong 8fdcf86af6 [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete
Every so often, the driver will call asd_clear_nexus to clean out a task.
It is supposed to be the case that the CLEAR NEXUS does not go on the done
list until after the task itself has been put on the done list, but for
some reason this doesn't always happen.  Thus, the
wait_for_completion_timeout call times out, and we return success.  This
makes libsas free the task even though the task hasn't completed, leading
to a BUG_ON message from aic94xx_hwi.c around line 341.  We should return
failure from asd_clear_nexus so that libsas tries again; at a bare minimum
it shouldn't be freeing active tasks.  I _think_ this will fix one of
the SCB timeout crash problems (though I've not been able to reproduce
it lately...)

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-22 14:12:45 -05:00
..
Kconfig [SCSI] aic94xx: require firmware loader 2006-09-26 09:23:15 -07:00
Makefile Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
aic94xx.h [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
aic94xx_dev.c [SCSI] aic94xx: Lock DDB read/write accesses 2007-01-13 16:19:42 -06:00
aic94xx_dump.c [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_dump.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_hwi.c [PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc(). 2007-02-11 10:51:27 -08:00
aic94xx_hwi.h [SCSI] aic94xx SCSI timeout fix 2006-11-09 14:27:48 +09:00
aic94xx_init.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
aic94xx_reg.c [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_reg.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_reg_def.h [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_sas.h [SCSI] aic94xx: Fix DDB and SCB initialization 2007-01-13 16:19:24 -06:00
aic94xx_scb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
aic94xx_sds.c [SCSI] aic94xx: fix typos and update verison number 2007-01-27 09:24:53 -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: Don't give scsi_cmnds to the EH if they never made it to the SAS LLDD or have already returned 2007-01-13 16:12:39 -06:00
aic94xx_tmf.c [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete 2007-05-22 14:12:45 -05:00