]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Faster detection if gssd is actually running
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 May 2013 18:28:54 +0000 (11:28 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 May 2013 13:15:41 +0000 (06:15 -0700)
commitc37f0aadb7d0cd9a5060fa39d85ac88a3b44393f
treee75cce0ff477831f77a5cb4be6984a7a9248132b
parente0a0c0eb61b8f58218c8b2ac9fa3d505c5e92e92
SUNRPC: Faster detection if gssd is actually running

Recent changes to the NFS security flavour negotiation mean that
we have a stronger dependency on rpc.gssd. If the latter is not
running, because the user failed to start it, then we time out
and mark the container as not having an instance. We then
use that information to time out faster the next time.

If, on the other hand, the rpc.gssd successfully binds to an rpc_pipe,
then we mark the container as having an rpc.gssd instance.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/netns.h
net/sunrpc/rpc_pipe.c