]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Timeouts occur on surprise removal of QLogic adapter
authorBill Kuzeja <William.Kuzeja@stratus.com>
Mon, 5 Nov 2018 16:23:50 +0000 (11:23 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 9 Nov 2018 02:09:26 +0000 (21:09 -0500)
commit207936bd0ddd2d9221b993a3c7579b3eb75f600c
treeb9ec7f03c32103129cc9761c135e4687c9c81eb1
parent5d14ef54190466ce225fc1809ffe553f6f4ff2f0
scsi: qla2xxx: Timeouts occur on surprise removal of QLogic adapter

When doing a surprise removal of an adapter, some in flight I/Os can get
stuck and take a while to complete (they actually time out and are
retried). We are not handling an early error exit from qla2xxx_eh_abort
properly.

Fixes: 0fe7503c5adb ("scsi: qla2xxx: Fix driver unload by shutting down chip")
Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c