diff options
author | Hannes Reinecke <[email protected]> | 2021-05-21 10:23:00 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-05-25 09:21:15 +0200 |
commit | f25f8ef70ce2e85bae1a266dd5de714aefda81d2 (patch) | |
tree | e5a41c9ad1e1e70ea3716c17112ac918b0b5eb02 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3596a06583a16cf7f76d836440dfba5714c9c710 (diff) |
nvme-fc: short-circuit reconnect retries
Returning an nvme status from nvme_fc_create_association() indicates
that the association is established, and we should honour the DNR bit.
If it's set a reconnect attempt will just return the same error, so
we can short-circuit the reconnect attempts and fail the connection
directly.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions