diff options
| author | Gioh Kim <[email protected]> | 2021-05-28 13:30:14 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-05-28 20:52:58 -0300 |
| commit | 07c14027295a320cbc38869ed54b7472f155b2a6 (patch) | |
| tree | 571e34601d1dfaeaedf6524ca055b6aed0be1a8c /tools/perf/scripts/python/bin | |
| parent | 64bce1ee978491a779eb31098b21c57d4e431d6a (diff) | |
RDMA/rtrs-srv: Duplicated session name is not allowed
If two clients try to use the same session name, rtrs-server generates a
kernel error that it failed to create the sysfs because the filename
is duplicated.
This patch adds code to check if there already exists the same session
name with the different UUID. If a client tries to add more session,
it sends the UUID and the session name. Therefore it is ok if there is
already same session name with the same UUID. The rtrs-server must fail
only-if there is the same session name with the different UUID.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gioh Kim <[email protected]>
Signed-off-by: Aleksei Marov <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Md Haris Iqbal <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions