Skip to content
  • Chuck Lever's avatar
    [PATCH] RPC: kick off socket connect operations faster · ae388462
    Chuck Lever authored
    
    
     Make the socket transport kick the event queue to start socket connects
     immediately.  This should improve responsiveness of applications that are
     sensitive to slow mount operations (like automounters).
    
     We are now also careful to cancel the connect worker before destroying
     the xprt.  This eliminates a race where xprt_destroy can finish before
     the connect worker is even allowed to run.
    
     Test-plan:
     Destructive testing (unplugging the network temporarily).  Connectathon
     with UDP and TCP.  Hard-code impossibly small connect timeout.
    
     Version: Fri, 29 Apr 2005 15:32:01 -0400
    
    Signed-off-by: default avatarChuck Lever <cel@netapp.com>
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    ae388462