linux/drivers/scsi/qla4xxx
Mike Christie 5c656af7e4 [SCSI] qla4xxx: add timeout handler
Recently dm-multipath began calling blk_abort_queue. This causes all the
commands/request running on the path to have the timeout function called.
If a path does go down, and the LLD returns DID_*, dm-multpiath will eventually
get this error and begin to call the cmd timeout handler. qla4xxx currently
does not set a timed out handler and so the default one could return
BLK_EH_NOT_HANDLED and end up firing the scsi eh and stopping IO to all
paths on the host when only one path is affected.

For software and offload iscsi we have a timed out handler already.
This patch adds a driver specific one to qla4xxx because there
are some ddb->state and session->state and command completion races
that are better handled in the LLD.

This also handles the problem where if the session is down,
we do not need the scsi eh to run until the transport code
has tried to reconnect us.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-07-30 08:50:00 -05:00
..
Kconfig [PATCH] SCSI: ISCSI build failure 2006-10-31 08:13:19 -08:00
Makefile
ql4_dbg.c [SCSI] qla4xxx: Correct Extended Sense Data Errors 2009-07-30 08:50:00 -05:00
ql4_dbg.h [SCSI] Maintain module-parameter name consistency with qla2xxx/qla4xxx. 2006-10-25 15:12:17 -07:00
ql4_def.h [SCSI] qla4xxx: Correct Extended Sense Data Errors 2009-07-30 08:50:00 -05:00
ql4_fw.h [SCSI] qla4xxx: Correct Extended Sense Data Errors 2009-07-30 08:50:00 -05:00
ql4_glbl.h [SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code 2008-04-07 12:19:00 -05:00
ql4_init.c [SCSI] qla4xxx: do not reuse session when connecting to different target port 2009-01-25 07:55:13 -06:00
ql4_inline.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_iocb.c [SCSI] qla4xxx: fix scsi command completion, lun reset and target reset code 2008-04-07 12:19:00 -05:00
ql4_isr.c [SCSI] qla4xxx: Correct Extended Sense Data Errors 2009-07-30 08:50:00 -05:00
ql4_mbx.c trivial: Fix misspelling of "firmware" in ql4_mbx.c 2009-01-06 11:28:08 +01:00
ql4_nvram.c [SCSI] qla4xxx: update rev num and misc cleanup 2007-05-26 11:47:40 -05:00
ql4_nvram.h [SCSI] qla4xxx: add support for qla4032 2006-11-22 12:14:04 -06:00
ql4_os.c [SCSI] qla4xxx: add timeout handler 2009-07-30 08:50:00 -05:00
ql4_version.h [SCSI] qla4xxx: Correct Extended Sense Data Errors 2009-07-30 08:50:00 -05:00