diff options
| author | 2021-05-28 13:30:17 +0200 | |
|---|---|---|
| committer | 2021-05-28 20:52:59 -0300 | |
| commit | 5b73b799c25c68a4703cd6c5ac4518006d9865b8 (patch) | |
| tree | bb96c691c9820849ecad183ce5f05d782a6ed61e /tools/perf/scripts/python/bin | |
| parent | RDMA/rtrs-srv: Fix memory leak when having multiple sessions (diff) | |
RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
The queue_depth is a module parameter for rtrs_server. It is used on the
client side to determing the queue_depth of the request queue for the RNBD
virtual block device.
During a reconnection event for an already mapped device, in case the
rtrs_server module queue_depth has changed, fail the reconnect attempt.
Also stop further auto reconnection attempts. A manual reconnect via
sysfs has to be triggerred.
Fixes: 6a98d71daea18 ("RDMA/rtrs: client: main functionality")
Link: https://lore.kernel.org/r/20210528113018.52290-20-jinpu.wang@ionos.com
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
