linux/drivers/scsi/qla4xxx
Nilesh Javali 2103363969 [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios
Outstanding mailbox commands, have no way to recover on f/w hung, and we
timeout on waiting for mbx response. This in turn affects the recovery process
as follows:
 - We might already be in dpc while waiting for mbx to complete, so recovery for
   that pci function will never get invoked. Reset Timeout (10 sec) is far less
   than mbx timeout (30 sec).
 - Other mbx cmds will get stuck due to serial mbx access.

Solution is to identify fw-hung scenario and handle outstanding mbx commands to
have an early-exit instead of waiting for response.
Other mbx commands waiting for access will also do an early-exit if fw-hung is
still applicable.

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-08-06 12:00:12 -05:00
..
Kconfig [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
Makefile [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
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: Handle outstanding mbx cmds on hung f/w scenarios 2010-08-06 12:00:12 -05:00
ql4_fw.h [SCSI] qla4xxx: updated mbx_sys_info struct to sync with FW 4.6.x 2010-08-06 11:59:28 -05:00
ql4_glbl.h [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios 2010-08-06 12:00:12 -05:00
ql4_init.c [SCSI] qla4xxx: Stop firmware before doing init firmware. 2010-08-06 11:58:07 -05:00
ql4_inline.h [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
ql4_iocb.c [SCSI] qla4xxx: Use the correct request queue. 2010-08-06 11:56:52 -05:00
ql4_isr.c [SCSI] qla4xxx: replace all dev_info, dev_warn, dev_err with ql4_printk 2010-07-28 09:05:23 -05:00
ql4_mbx.c [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios 2010-08-06 12:00:12 -05:00
ql4_nvram.c [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
ql4_nvram.h [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
ql4_nx.c [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios 2010-08-06 12:00:12 -05:00
ql4_nx.h [SCSI] qla4xxx: Added support for ISP82XX 2010-07-28 09:04:23 -05:00
ql4_os.c [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios 2010-08-06 12:00:12 -05:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.02.00-k2 2010-07-28 09:05:25 -05:00