summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-05-04 16:52:55 +0200
committerJ. Bruce Fields <bfields@redhat.com>2016-05-13 21:53:05 +0200
commit6625d0913771df5f12b9531c8cb8414e55f1c21d (patch)
treefe2416c9d582062f42d1ac81a58e858a6e994382 /.gitignore
parentsvcrdma: Support IPv6 with NFS/RDMA (diff)
downloadlinux-6625d0913771df5f12b9531c8cb8414e55f1c21d.tar.xz
linux-6625d0913771df5f12b9531c8cb8414e55f1c21d.zip
svcrdma: Do not add XDR padding to xdr_buf page vector
An xdr_buf has a head, a vector of pages, and a tail. Each RPC request is presented to the NFS server contained in an xdr_buf. The RDMA transport would like to supply the NFS server with only the NFS WRITE payload bytes in the page vector. In some common cases, that would allow the NFS server to swap those pages right into the target file's page cache. Have the transport's RDMA Read logic put XDR pad bytes in the tail iovec, and not in the pages that hold the data payload. The NFSv3 WRITE XDR decoder is finicky about the lengths involved, so make sure it is looking in the correct places when computing the total length of the incoming NFS WRITE request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions