diff options
author | Hannes Reinecke <[email protected]> | 2024-04-30 15:19:27 +0200 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-05-01 03:07:20 -0700 |
commit | adfde7ed0b301ef14c37efe3143a8b26849843f6 (patch) | |
tree | fd7a2de3ccd1e1514cfba3c6a6ef7b88b372ac82 /tools/perf/util/scripting-engines/trace-event-python.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 <[email protected]>
[dwagner: - extended nvme_should_reconnect]
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions