smb: smbdirect: introduce smbdirect_socket.workqueue
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Aug 2025 10:22:24 +0000 (12:22 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:48 +0000 (18:29 -0500)
commit6c5b0f9253d7f15722db22da28cd49ab34252214
treef26f06b86a42dfd6886d4a21e3e77fae448cd749
parent6889d2f5caa69ff4f523ef11a207fcaedaff8c7e
smb: smbdirect: introduce smbdirect_socket.workqueue

The client currently used a per socket workqueue
because it can block in a work function
waiting for credits.

So we use a per socket pointer in order to prepare
common code.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smbdirect/smbdirect_socket.h