summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/backchannel.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-12-19 16:58:24 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-01-02 18:05:16 +0100
commit6ceea36890a01aa626ce08487eecc5fb43e749b1 (patch)
tree01f6b56a343064c01d0be8f312162880b9cee1b3 /net/sunrpc/xprtrdma/backchannel.c
parentxprtrdma: Ensure MRs are DMA-unmapped when posting LOCAL_INV fails (diff)
downloadlinux-6ceea36890a01aa626ce08487eecc5fb43e749b1.tar.xz
linux-6ceea36890a01aa626ce08487eecc5fb43e749b1.zip
xprtrdma: Refactor Receive accounting
Clean up: Divide the work cleanly: - rpcrdma_wc_receive is responsible only for RDMA Receives - rpcrdma_reply_handler is responsible only for RPC Replies - the posted send and receive counts both belong in rpcrdma_ep Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/backchannel.c')
-rw-r--r--net/sunrpc/xprtrdma/backchannel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/backchannel.c b/net/sunrpc/xprtrdma/backchannel.c
index e5b367a3e517..2cb07a313b3d 100644
--- a/net/sunrpc/xprtrdma/backchannel.c
+++ b/net/sunrpc/xprtrdma/backchannel.c
@@ -207,7 +207,6 @@ int xprt_rdma_bc_send_reply(struct rpc_rqst *rqst)
if (rc < 0)
goto failed_marshal;
- rpcrdma_post_recvs(r_xprt, true);
if (rpcrdma_ep_post(&r_xprt->rx_ia, &r_xprt->rx_ep, req))
goto drop_connection;
return 0;