diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-12-19 16:58:24 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 18:05:16 +0100 |
commit | 6ceea36890a01aa626ce08487eecc5fb43e749b1 (patch) | |
tree | 01f6b56a343064c01d0be8f312162880b9cee1b3 /include/trace | |
parent | xprtrdma: Ensure MRs are DMA-unmapped when posting LOCAL_INV fails (diff) | |
download | linux-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 'include/trace')
-rw-r--r-- | include/trace/events/rpcrdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/rpcrdma.h b/include/trace/events/rpcrdma.h index b093058f78aa..2efe2d7d6683 100644 --- a/include/trace/events/rpcrdma.h +++ b/include/trace/events/rpcrdma.h @@ -570,7 +570,7 @@ TRACE_EVENT(xprtrdma_post_recvs, __entry->r_xprt = r_xprt; __entry->count = count; __entry->status = status; - __entry->posted = r_xprt->rx_buf.rb_posted_receives; + __entry->posted = r_xprt->rx_ep.rep_receive_count; __assign_str(addr, rpcrdma_addrstr(r_xprt)); __assign_str(port, rpcrdma_portstr(r_xprt)); ), |