linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 33943b2974 xprtrdma: Don't provide a reply chunk when expecting a short reply
Currently Linux always offers a reply chunk, even when the reply
can be sent inline (ie. is smaller than 1KB).

On the client, registering a memory region can be expensive. A
server may choose not to use the reply chunk, wasting the cost of
the registration.

This is a change only for RPC replies smaller than 1KB which the
server constructs in the RPC reply send buffer. Because the elements
of the reply must be XDR encoded, a copy-free data transfer has no
benefit in this case.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-08-05 16:21:27 -04:00
..
fmr_ops.c xprtrdma: Clean up rpcrdma_ia_open() 2015-08-05 16:21:27 -04:00
frwr_ops.c xprtrdma: Clean up rpcrdma_ia_open() 2015-08-05 16:21:27 -04:00
Makefile rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
physical_ops.c xprtrdma: Clean up rpcrdma_ia_open() 2015-08-05 16:21:27 -04:00
rpc_rdma.c xprtrdma: Don't provide a reply chunk when expecting a short reply 2015-08-05 16:21:27 -04:00
svc_rdma_marshal.c svcrdma: Keep rpcrdma_msg fields in network byte-order 2015-06-04 16:55:59 -04:00
svc_rdma_recvfrom.c Merge branch 'for-4.2' of git://linux-nfs.org/~bfields/linux 2015-06-27 10:14:39 -07:00
svc_rdma_sendto.c svcrdma: Replace GFP_KERNEL in a loop with GFP_NOFAIL 2015-06-04 16:56:00 -04:00
svc_rdma_transport.c Merge branch 'for-4.2' of git://linux-nfs.org/~bfields/linux 2015-06-27 10:14:39 -07:00
svc_rdma.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
transport.c xprtrdma: Make xprt_setup_rdma() agnostic to family of server address 2015-08-05 16:21:26 -04:00
verbs.c xprtrdma: Remove logic that constructs RDMA_MSGP type calls 2015-08-05 16:21:27 -04:00
xprt_rdma.h xprtrdma: Remove logic that constructs RDMA_MSGP type calls 2015-08-05 16:21:27 -04:00