]> asedeno.scripts.mit.edu Git - linux.git/commit
svcrdma: Populate tail iovec when receiving
authorChuck Lever <chuck.lever@oracle.com>
Fri, 18 Aug 2017 15:12:35 +0000 (11:12 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Sep 2017 19:15:29 +0000 (15:15 -0400)
commit193bcb7b3719a315814dce40fc8dcd1af786ea64
tree594a69833943b278063835f5b891a7389e8153e1
parenteae03e2ac80a3476f0652cb0ee451d7b06d30564
svcrdma: Populate tail iovec when receiving

So that NFS WRITE payloads can eventually be placed directly into a
file's page cache, enable the RPC-over-RDMA transport to present
these payloads in the xdr_buf's page list, while placing trailing
content (such as a GETATTR operation) in the xdr_buf's tail.

After this change, the RPC-over-RDMA's "copy tail" hack, added by
commit a97c331f9aa9 ("svcrdma: Handle additional inline content"),
is no longer needed and can be removed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_rw.c