1
0
Fork 0
remarkable-linux/drivers/scsi/qla2xxx
Bill Kuzeja 4cd3b6ebff scsi: qla2xxx: Fix extraneous ref on sp's after adapter break
Hung task timeouts can result if a qlogic board breaks unexpectedly
while running I/O. These tasks become hung because command srb reference
counts are not going to zero, hence the affected srbs and commands do
not get freed. This fix accounts for this extra reference in the srbs in
the case of a board failure.

Fixes: a465537ad1 ("qla2xxx: Disable the adapter and skip error recovery in case of register disconnect")
Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-05-31 22:49:06 -04:00
..
Kconfig qla2xxx: Change scsi host lookup method. 2017-03-18 17:28:37 -07:00
Makefile [SCSI] qla2xxx: Add support for ISP2071. 2014-03-15 10:18:50 -07:00
qla_attr.c SCSI misc on 20170503 2017-05-04 12:19:44 -07:00
qla_bsg.c scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC 2017-05-24 21:55:50 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Fix mailbox pointer error in fwdump capture 2017-05-24 21:55:51 -04:00
qla_dbg.h qla2xxx: Improve T10-DIF/PI handling in driver. 2017-03-18 17:28:36 -07:00
qla_def.h scsi: qla2xxx: Fix crash due to mismatch mumber of Q-pair creation for Multi queue 2017-05-24 21:55:50 -04:00
qla_devtbl.h
qla_dfs.c qla2xxx: Add DebugFS node to display Port Database 2017-03-18 17:28:37 -07:00
qla_fw.h qla2xxx: Improve RSCN handling in driver 2017-02-09 00:39:02 -08:00
qla_gbl.h qla2xxx: Change scsi host lookup method. 2017-03-18 17:28:37 -07:00
qla_gs.c scsi: qla2xxx: Fix typo in driver 2017-04-04 20:13:57 -04:00
qla_init.c scsi: qla2xxx: Fix crash due to mismatch mumber of Q-pair creation for Multi queue 2017-05-24 21:55:50 -04:00
qla_inline.h scsi: qla2xxx: Fix crash due to NULL pointer dereference of ctx 2017-05-24 21:55:51 -04:00
qla_iocb.c qla2xxx: Improve T10-DIF/PI handling in driver. 2017-03-18 17:28:36 -07:00
qla_isr.c scsi: qla2xxx: Fix recursive loop during target mode configuration for ISP25XX leaving system unresponsive 2017-05-24 21:55:50 -04:00
qla_mbx.c scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC 2017-05-24 21:55:50 -04:00
qla_mid.c qla2xxx: Allow vref count to timeout on vport delete. 2017-03-18 17:27:56 -07:00
qla_mr.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2017-03-02 14:52:05 -08:00
qla_mr.h qla2xxx: Adjust adapter reset routine to the changes in firmware specification for ISPFx00. 2014-05-19 13:31:03 +02:00
qla_nx.c qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx2.c qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_os.c scsi: qla2xxx: Fix extraneous ref on sp's after adapter break 2017-05-31 22:49:06 -04:00
qla_settings.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c scsi: qla2xxx: Fix crash due to NULL pointer dereference of ctx 2017-05-24 21:55:51 -04:00
qla_target.h qla2xxx: Add async new target notification 2017-03-18 17:28:37 -07:00
qla_tmpl.c scsi: qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues 2017-05-24 21:55:50 -04:00
qla_tmpl.h qla2xxx: ISP27xx fwdump template error print simplification. 2014-09-25 14:25:02 +02:00
qla_version.h qla2xxx: Update driver version to 9.00.00.00-k 2017-03-18 17:28:38 -07:00
tcm_qla2xxx.c qla2xxx: Improve T10-DIF/PI handling in driver. 2017-03-18 17:28:36 -07:00
tcm_qla2xxx.h qla2xxx: Track I-T nexus as single fc_port struct 2017-02-08 23:34:07 -08:00