aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-05-07 13:34:27 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-05-14 15:09:32 -0400
commitbbc72cea58f671665b6362be0d4e391813ac0eee (patch)
treee70a35d3bc05ece4a532514893fec151aee2bd46 /include/linux/sunrpc
parent9bc4e3ca46e4eb9cb434de4175c6041d00bbdca3 (diff)
SUNRPC: RPC metrics and RTT estimator should use same RTT value
Compute an RPC request's RTT once, and use that value both for reporting RPC metrics, and for adjusting the RTT context used by the RPC client's RTT estimator algorithm. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/xprt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 8263f7aefedf..04fc342d9840 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -293,7 +293,6 @@ void xprt_set_retrans_timeout_rtt(struct rpc_task *task);
293void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); 293void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status);
294void xprt_wait_for_buffer_space(struct rpc_task *task, rpc_action action); 294void xprt_wait_for_buffer_space(struct rpc_task *task, rpc_action action);
295void xprt_write_space(struct rpc_xprt *xprt); 295void xprt_write_space(struct rpc_xprt *xprt);
296void xprt_update_rtt(struct rpc_task *task);
297void xprt_adjust_cwnd(struct rpc_task *task, int result); 296void xprt_adjust_cwnd(struct rpc_task *task, int result);
298struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid); 297struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid);
299void xprt_complete_rqst(struct rpc_task *task, int copied); 298void xprt_complete_rqst(struct rpc_task *task, int copied);