]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: smbd: handle multiple Buffer descriptors
authorHyunchul Lee <hyc.lee@gmail.com>
Fri, 29 Apr 2022 23:30:29 +0000 (08:30 +0900)
committerSteve French <stfrench@microsoft.com>
Sat, 21 May 2022 20:01:43 +0000 (15:01 -0500)
commite739ed047c6015502744c4adafc6c085d7922bec
tree2af2ce453a937f51e39514bab1bfcba272815171
parentd4dfd5959107d66b2bf9f0d595548a15f6db2b8a
ksmbd: smbd: handle multiple Buffer descriptors

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>
fs/ksmbd/smb2pdu.c
fs/ksmbd/transport_rdma.c