diff options
| author | 2025-10-15 17:05:27 +0200 | |
|---|---|---|
| committer | 2025-10-23 20:58:51 -0500 | |
| commit | dd6940f5c7dbee7ae70708f4c8967c3c8cb1d965 (patch) | |
| tree | feef0f9731573188eef92083a7613106bf0a69f9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | smb: client: make use of smbdirect_socket.send_io.lcredits.* (diff) | |
| download | linux-rng-dd6940f5c7dbee7ae70708f4c8967c3c8cb1d965.tar.xz linux-rng-dd6940f5c7dbee7ae70708f4c8967c3c8cb1d965.zip | |
smb: server: let free_transport() wait for SMBDIRECT_SOCKET_DISCONNECTED
We should wait for the rdma_cm to become SMBDIRECT_SOCKET_DISCONNECTED!
At least on the client side (with similar code)
wait_event_interruptible() often returns with -ERESTARTSYS instead of
waiting for SMBDIRECT_SOCKET_DISCONNECTED.
We should use wait_event() here too, which makes the code be identical
in client and server, which will help when moving to common functions.
Fixes: b31606097de8 ("smb: server: move smb_direct_disconnect_rdma_work() into free_transport()")
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
