]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Avoid using Write list for small NFS READ requests
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 May 2016 18:41:14 +0000 (14:41 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:47:59 +0000 (15:47 -0400)
commit88e84b2cd6a3ca13dc05620f1e56920e48d72099
tree0ebdba42ca4b89faab623faf6b07f9e0e135de86
parentf0713f461aaf63e3d9356df177c077e6768fb243
xprtrdma: Avoid using Write list for small NFS READ requests

Avoid the latency and interrupt overhead of registering a Write
chunk when handling NFS READ requests of a few hundred bytes or
less.

This change does not interoperate with Linux NFS/RDMA servers
that do not have commit 69e3a53efbff ('svcrdma: Fix send_reply()
scatter/gather set-up'). Commit 69e3a53efbff was introduced in v4.3,
and is included in 4.2.y, 4.1.y, and 3.18.y.

Oracle bug 22925946 has been filed to request that the above fix
be included in the Oracle Linux UEK4 NFS/RDMA server.

Red Hat bugzillas 1327280 and 1327554 have been filed to request
that RHEL NFS/RDMA server backports include the above fix.

Workaround: Replace the "proto=rdma,port=20049" mount options
with "proto=tcp" until commit 69e3a53efbff is applied to your
NFS server.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c