]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: client: port and use the wait_for_credits logic used by server
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Jan 2026 17:16:53 +0000 (18:16 +0100)
committerSteve French <stfrench@microsoft.com>
Sun, 8 Feb 2026 23:12:58 +0000 (17:12 -0600)
commitbb848d205f7ac0141af52a5acb6dd116d9b71177
tree14f1f43bb7f5d90bb2489e0307da7c8eaa727973
parent8bfe3fd33f36b987c8200b112646732b5f5cd8b3
smb: client: port and use the wait_for_credits logic used by server

This simplifies the logic and prepares the use of
smbdirect_send_batch in order to make sure
all messages in a multi fragment send are grouped
together.

We'll add the smbdirect_send_batch processin
in a later patch.

Cc: <stable@vger.kernel.org> # 6.18.x
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: 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/client/smbdirect.c