diff options
author | Sagi Grimberg <[email protected]> | 2022-11-13 13:24:24 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-11-16 08:36:37 +0100 |
commit | 91c11d5f32547a08d462934246488fe72f3d44c3 (patch) | |
tree | 607bb8c43b9ca688d899a51c3edf1355fea49742 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1f1a4f89562d3b33b6ca4fc8a4f3bd4cd35ab4ea (diff) |
nvme-rdma: stop auth work after tearing down queues in error recovery
when starting error recovery there might be a authentication work
running, and it involves I/O commands. Given the controller is tearing
down there is no chance for the I/O to complete other than timing out
which may unnecessarily take a full io timeout.
So first tear down the queues, fail/cancel all inflight I/O (including
potentially authentication) and only then stop authentication. This
ensures that failover is not stalled due to blocked authentication I/O.
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions