diff options
author | Chuck Lever <cel@netapp.com> | 2005-08-25 19:25:52 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-09-23 12:38:43 -0400 |
commit | 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee (patch) | |
tree | eee53757ac3e03d55b6c01bb0500996ba520a8bb /include/linux/sunrpc | |
parent | 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 (diff) |
[PATCH] RPC: add generic interface for adjusting the congestion window
A new interface that allows transports to adjust their congestion window
using the Van Jacobson implementation in xprt.c is provided.
Test-plan:
Use WAN simulation to cause sporadic bursty packet loss. Look for
significant regression in performance or client stability.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 443c3f984cf9..2e48752d55d9 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -258,9 +258,10 @@ void xprt_set_retrans_timeout_rtt(struct rpc_task *task); | |||
258 | void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); | 258 | void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); |
259 | void xprt_wait_for_buffer_space(struct rpc_task *task); | 259 | void xprt_wait_for_buffer_space(struct rpc_task *task); |
260 | void xprt_write_space(struct rpc_xprt *xprt); | 260 | void xprt_write_space(struct rpc_xprt *xprt); |
261 | void xprt_update_rtt(struct rpc_task *task); | ||
261 | void xprt_adjust_cwnd(struct rpc_task *task, int result); | 262 | void xprt_adjust_cwnd(struct rpc_task *task, int result); |
262 | struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid); | 263 | struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid); |
263 | void xprt_complete_rqst(struct rpc_xprt *xprt, struct rpc_rqst *req, int copied); | 264 | void xprt_complete_rqst(struct rpc_task *task, int copied); |
264 | void xprt_disconnect(struct rpc_xprt *xprt); | 265 | void xprt_disconnect(struct rpc_xprt *xprt); |
265 | 266 | ||
266 | /* | 267 | /* |