]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] RPC: kick off socket connect operations faster
authorChuck Lever <cel@netapp.com>
Wed, 22 Jun 2005 17:16:28 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:32 +0000 (16:07 -0400)
commit3a9f48da18ad44fb0a3272c44533c30f0e6ee575
tree47cc8b29485d45f1967521a26151957e09c9012c
parentab80855f37589ac24397a2a8207c3f5ffebf13e8
[PATCH] RPC: kick off socket connect operations faster

 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: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c