diff options
author | James Smart <jsmart2021@gmail.com> | 2018-05-04 20:37:50 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 01:03:15 -0400 |
commit | cd2400715c1250db78f5b54795edd1960815820a (patch) | |
tree | d1e45bcb34f86e41778bb553b6fa7fbe46a52f23 /drivers/scsi/mac53c94.h | |
parent | ab7ad49d01a5f03c5b1705334dc68f770f0a74f8 (diff) |
scsi: lpfc: Change IO submit return to EBUSY if remote port is recovering
I/O submission paths in the lpfc nvme path are rejecting the io with an
error code that reflects back to the callee as a hard io failure. Many
of these conditions are transient and would likely resolve if retried.
Correct by returning -EBUSY, which the FC transport triggers off of to
return busy status codes to the blk-mq layer.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mac53c94.h')
0 files changed, 0 insertions, 0 deletions