]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: smbd: handle multiple Buffer descriptors
authorHyunchul Lee <hyc.lee@gmail.com>
Mon, 18 Dec 2023 15:32:57 +0000 (00:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:51 +0000 (10:41 +0100)
commit918a690d8ab650b78c0cae4be9227f6cfcd779f0
tree25ca955e03bc2e262a0de4eb4c699bb45656f111
parent673c186f810501bb20785561c3dd8edb5a55dadc
ksmbd: smbd: handle multiple Buffer descriptors

[ Upstream commit ee1b0558965909872775183dc237cdf9f8eddaba ]

Make ksmbd handle multiple buffer descriptors
when reading and writing files using SMB direct:
Post the work requests of rdma_rw_ctx for
RDMA read/write in smb_direct_rdma_xmit(), and
the work request for the READ/WRITE response
with a remote invalidation in smb_direct_writev().

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/smb2pdu.c
fs/ksmbd/transport_rdma.c