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)
commitee1b0558965909872775183dc237cdf9f8eddaba
tree2af2ce453a937f51e39514bab1bfcba272815171
parent4e3edd0092704b25626a0fe60a974f6f382ff93d
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