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)
commitf2ffd4e5bc7b629b312be48fbe3c3a2afbd67e4a
treeb9ec7f03c32103129cc9761c135e4687c9c81eb1
parentf635e48e866ee1a47d2d42ce012fdcc07bf55853
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: 45235022da99 ("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