xprtrdma: Update only specific fields in private receive buffer
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Jun 2016 17:54:49 +0000 (13:54 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 11 Jul 2016 19:50:43 +0000 (15:50 -0400)
commitcfabe2c634e617765af39ea1cb2920bdcbc5bb7e
tree8be76e009f224a217432ced4bef5151e018bc5f6
parentcb0ae1fbb2f5e0cec250ba19c0525dde2b6c0160
xprtrdma: Update only specific fields in private receive buffer

Now that rpcrdma_inline_fixup() updates only two fields in
rq_rcv_buf, a full memcpy of that structure to rq_private_buf is
unwarranted. Updating rq_private_buf fields only where needed also
better documents what is going on.

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