aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/transport.c
diff options
context:
space:
mode:
authorTom Talpey <talpey@netapp.com>2008-10-09 15:00:50 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-10 15:10:40 -0400
commitad0e9e01da4ece70ff524b49c77c5e850d5dd53e (patch)
treebf8f2ee9e7c900b495bc7fd589045c3b407bc791 /net/sunrpc/xprtrdma/transport.c
parent575448bd36208f99fe0dd554a43518d798966740 (diff)
RPC/RDMA: maintain the RPC task bytes-sent statistic.
Signed-off-by: Tom Talpey <talpey@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/transport.c')
-rw-r--r--net/sunrpc/xprtrdma/transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c
index 0aefc6485385..ec6d1e7a1941 100644
--- a/net/sunrpc/xprtrdma/transport.c
+++ b/net/sunrpc/xprtrdma/transport.c
@@ -699,6 +699,7 @@ xprt_rdma_send_request(struct rpc_task *task)
699 if (rpcrdma_ep_post(&r_xprt->rx_ia, &r_xprt->rx_ep, req)) 699 if (rpcrdma_ep_post(&r_xprt->rx_ia, &r_xprt->rx_ep, req))
700 goto drop_connection; 700 goto drop_connection;
701 701
702 task->tk_bytes_sent += rqst->rq_snd_buf.len;
702 rqst->rq_bytes_sent = 0; 703 rqst->rq_bytes_sent = 0;
703 return 0; 704 return 0;
704 705