]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix nvme io stoppage after link bounce
authorJames Smart <jsmart2021@gmail.com>
Wed, 21 Jun 2017 17:37:58 +0000 (10:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 26 Jun 2017 19:01:00 +0000 (15:01 -0400)
commitc1f6d2830d458ba9f0f8c6cd074604bf1407bdfa
tree7cc033a93642828c4fa464e3201f9c6479b2f8d8
parent74685a56cd363f146dc08ce82f2b41e75218b319
scsi: lpfc: Fix nvme io stoppage after link bounce

On link down, transport is calling driver to abort outstanding ios.
Driver erroneously rejects the abort if the port indicates it isn't
logged in - which will be the case after the link down. Thus, the io
can't clean up. This prevents reconnection at the transport level.

Fix by allowing abort to proceed.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c