projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575448b
)
RPC/RDMA: maintain the RPC task bytes-sent statistic.
author
Tom Talpey
<talpey@netapp.com>
Thu, 9 Oct 2008 19:00:50 +0000
(15:00 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 10 Oct 2008 19:10:40 +0000
(15:10 -0400)
Signed-off-by: Tom Talpey <talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/transport.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/xprtrdma/transport.c
b/net/sunrpc/xprtrdma/transport.c
index 0aefc6485385db118960c465e4516eb1ab41d1ae..ec6d1e7a1941fe0b187077b4b8ff93f3085ee490 100644
(file)
--- a/
net/sunrpc/xprtrdma/transport.c
+++ b/
net/sunrpc/xprtrdma/transport.c
@@
-699,6
+699,7
@@
xprt_rdma_send_request(struct rpc_task *task)
if (rpcrdma_ep_post(&r_xprt->rx_ia, &r_xprt->rx_ep, req))
goto drop_connection;
+ task->tk_bytes_sent += rqst->rq_snd_buf.len;
rqst->rq_bytes_sent = 0;
return 0;