]> 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)
commit1226922f65cc93a4bee6be6779af34779f637ffd
treee75cce0ff477831f77a5cb4be6984a7a9248132b
parent3aa922c52d7107b378f626ecf3be1bcffb20a207
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