• Chuck Lever's avatar
    [PATCH] RPC: add API to set transport-specific timeouts · fe3aca29
    Chuck Lever authored
     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: default avatarChuck Lever <cel@netapp.com>
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    fe3aca29
xprtsock.c 28.4 KB