RPC/RDMA: adhere to protocol for unpadded client trailing write chunks.
authorTom Talpey <talpey@netapp.com>
Thu, 9 Oct 2008 19:01:11 +0000 (15:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 10 Oct 2008 19:12:33 +0000 (15:12 -0400)
commit9191ca3b381b15b9a88785a8ae2fa4db8e553b0c
tree7357b4009fefff106adab972f0572b3d4e105fa0
parentfee08caf943e8ed3446ce42fa085b5e7e5f08d92
RPC/RDMA: adhere to protocol for unpadded client trailing write chunks.

The RPC/RDMA protocol allows clients and servers to avoid RDMA
operations for data which is purely the result of XDR padding.
On the client, automatically insert the necessary padding for
such server replies, and optionally don't marshal such chunks.

Signed-off-by: Tom Talpey <talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/xprt_rdma.h