xprtrdma: Clean up fixup_copy_count accounting
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Jun 2016 17:54:58 +0000 (13:54 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 11 Jul 2016 19:50:43 +0000 (15:50 -0400)
commit64695bde6c289a62250eb0a078916703c8cf639a
treeb82a989d586d9e3174f4d14f65c9da220d8ac5de
parentcfabe2c634e617765af39ea1cb2920bdcbc5bb7e
xprtrdma: Clean up fixup_copy_count accounting

fixup_copy_count should count only the number of bytes copied to the
page list. The head and tail are now always handled without a data
copy.

And the debugging at the end of rpcrdma_inline_fixup() is also no
longer necessary, since copy_len will be non-zero when there is reply
data in the tail (a normal and valid case).

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