]> err.no Git - linux-2.6/commit
[PATCH] RPC: add API to set transport-specific timeouts
authorChuck Lever <cel@netapp.com>
Thu, 25 Aug 2005 23:25:50 +0000 (16:25 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:36 +0000 (12:38 -0400)
commitfe3aca290f17ae4978bd73d02aa4029f1c9c024c
tree4fbaa255e9e7a85f41eacb7cf1214dc44a90bcea
parent43118c29dea2b23798bd42a147015cceee7fa885
[PATCH] RPC: add API to set transport-specific timeouts

 Prepare the way to remove the "xprt->nocong" variable by adding a callout
 to the RPC client transport switch API to handle setting RPC retransmit
 timeouts.

 Add a pair of generic helper functions that provide the ability to set a
 simple fixed timeout, or to set a timeout based on the state of a round-
 trip estimator.

 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>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c