CIFS: SMBD: Set SMB Direct maximum read or write size for I/O
authorLong Li <longli@microsoft.com>
Thu, 23 Nov 2017 00:38:39 +0000 (17:38 -0700)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:06 +0000 (19:49 -0600)
commit09902f8dc849fd9d3f1258a5c926c5d5472646b1
treeae92c884bd55e1e9a7ca28b14bac56d65eaf717c
parentbce9ce7cc0766f5fe532cb89567ca2ac5ad80a1f
CIFS: SMBD: Set SMB Direct maximum read or write size for I/O

When connecting over SMB Direct, the transport negotiates its maximum I/O sizes
with the server and determines how to choose to do RDMA send/recv vs
read/write. Expose these maximum I/O sizes to upper layer so we will get the
correct sized payloads.

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>
fs/cifs/smb2ops.c