summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorBill Kuzeja <William.Kuzeja@stratus.com>2017-05-25 15:26:31 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-31 22:49:06 -0400
commit4cd3b6ebff8510b2139d64024411207090cfe0a9 (patch)
treee155a7a397d95b866aeaf950831ae9035977fe93 /drivers/scsi/scsi_debug.c
parente6ef6a77f51e403a1400241b9d029ecaba45a834 (diff)
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: a465537ad1a4 ("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>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions