]> 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)
commit68e1e6e93f5ad0d2da89bd4bad36cd1920c3c122
tree2af2ce453a937f51e39514bab1bfcba272815171
parent37b2631a4510ea7e26a24ab91026cd1b55a5b62e
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