]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sunrpc/xprtrdma/transport.c
SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqst
[net-next-2.6.git] / net / sunrpc / xprtrdma / transport.c
index 3f3b38c5642fe1f15afed8b839dd69a1dc72db42..a85e866a77f73d2abde623b3d89a264331f63999 100644 (file)
@@ -674,7 +674,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_xmit_bytes_sent += rqst->rq_snd_buf.len;
        rqst->rq_bytes_sent = 0;
        return 0;