diff options
author | Daniel Wagner <[email protected]> | 2022-08-29 11:28:40 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-09-19 17:55:19 +0200 |
commit | 09035f86496d8dea7a05a07f6dcb8083c0a3d885 (patch) | |
tree | d47e12370df09117465420abb24e94ca0198c192 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 3e980f5995e0bb4d86fef873a9c9ad66721580d0 (diff) |
nvme-tcp: handle number of queue changes
On reconnect, the number of queues might have changed.
In the case where we have more queues available than previously we try
to access queues which are not initialized yet.
The other case where we have less queues than previously, the
connection attempt will fail because the target doesn't support the
old number of queues and we end up in a reconnect loop.
Thus, only start queues which are currently present in the tagset
limited by the number of available queues. Then we update the tagset
and we can start any new queue.
Signed-off-by: Daniel Wagner <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions