diff options
author | Long Li <longli@microsoft.com> | 2017-11-22 17:38:46 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2018-01-24 19:49:07 -0600 |
commit | 74dcf418fe344657b0e48a5a4b75f935443fa53f (patch) | |
tree | bafd7da343c4a3231c22e36a404168ec33332588 /fs/cifs/file.c | |
parent | db223a590d45b5e584a430c46a778699a5825cdd (diff) | |
download | linux-74dcf418fe344657b0e48a5a4b75f935443fa53f.tar.bz2 |
CIFS: SMBD: Read correct returned data length for RDMA write (SMB read) I/O
This patch is for preparing upper layer doing SMB read via RDMA write.
When RDMA write is used for SMB read, the returned data length is in
DataRemaining in the response packet. Reading it properly by adding a
parameter to specifiy where the returned data length is.
Add the defition for memory registration to wdata and return the correct
length based on if RDMA write is used.
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/file.c')
0 files changed, 0 insertions, 0 deletions