diff options
author | James Smart <jsmart2021@gmail.com> | 2017-12-09 02:18:04 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-21 03:11:45 +0100 |
commit | cbc5de1b8a0f67beeafa9e474803709368f55175 (patch) | |
tree | c439e81828b6a9381a14086d4e63c1a9e810784d /drivers/scsi/lpfc/lpfc_els.c | |
parent | scsi: lpfc: Fix random heartbeat timeouts during heavy IO (diff) | |
download | linux-cbc5de1b8a0f67beeafa9e474803709368f55175.tar.xz linux-cbc5de1b8a0f67beeafa9e474803709368f55175.zip |
scsi: lpfc: Fix -EOVERFLOW behavior for NVMET and defer_rcv
The driver is all set to handle the defer_rcv api for the nvmet_fc
transport, yet didn't properly recognize the return status when the
defer_rcv occurred. The driver treated it simply as an error and aborted
the io. Several residual issues occurred at that point.
Finish the defer_rcv support: recognize the return status when the io
request is being handled in a deferred style. This stops the rogue
aborts; Replenish the async cmd rcv buffer in the deferred receive if
needed.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
0 files changed, 0 insertions, 0 deletions