diff options
author | Hannes Reinecke <hare@suse.de> | 2024-04-30 15:19:27 +0200 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-05-01 03:07:20 -0700 |
commit | adfde7ed0b301ef14c37efe3143a8b26849843f6 (patch) | |
tree | fd7a2de3ccd1e1514cfba3c6a6ef7b88b372ac82 /drivers/gpio/gpio-reg.c | |
parent | 44350336fd9dab7a337dec686978a160cf1abfc5 (diff) |
nvme-fabrics: short-circuit reconnect retries
Returning a nvme status from nvme_tcp_setup_ctrl() indicates that the
association was established and we have received a status from the
controller; consequently we should honour the DNR bit. If not any future
reconnect attempts will just return the same error, so we can
short-circuit the reconnect attempts and fail the connection directly.
Signed-off-by: Hannes Reinecke <hare@suse.de>
[dwagner: - extended nvme_should_reconnect]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-reg.c')
0 files changed, 0 insertions, 0 deletions