xprtrdma: "Support" call-only RPCs
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 Feb 2018 20:30:54 +0000 (15:30 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 10 Apr 2018 20:06:22 +0000 (16:06 -0400)
commitfb14ae8853e4f0347950f98e604fa2f4f3b3abe1
tree734f67197f925ed212be6d3b4dea9757dd38bef6
parentae741a855170fa97adabce7e48bdf9de71186a5f
xprtrdma: "Support" call-only RPCs

RPC-over-RDMA version 1 credit accounting relies on there being a
response message for every RPC Call. This means that RPC procedures
that have no reply will disrupt credit accounting, just in the same
way as a retransmit would (since it is sent because no reply has
arrived). Deal with the "no reply" case the same way.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/sunrpc.h
net/sunrpc/xprtrdma/transport.c