diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-15 20:28:54 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-16 15:15:41 +0200 |
commit | abfdbd53a4e28844ad953b313f017f55edbb85b7 (patch) | |
tree | e75cce0ff477831f77a5cb4be6984a7a9248132b /net/sunrpc/netns.h | |
parent | SUNRPC: Fix a bug in gss_create_upcall (diff) | |
download | linux-abfdbd53a4e28844ad953b313f017f55edbb85b7.tar.xz linux-abfdbd53a4e28844ad953b313f017f55edbb85b7.zip |
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>
Diffstat (limited to 'net/sunrpc/netns.h')
-rw-r--r-- | net/sunrpc/netns.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/netns.h b/net/sunrpc/netns.h index 7111a4c9113b..0827f641e8d7 100644 --- a/net/sunrpc/netns.h +++ b/net/sunrpc/netns.h @@ -29,6 +29,8 @@ struct sunrpc_net { struct rpc_clnt *gssp_clnt; int use_gss_proxy; struct proc_dir_entry *use_gssp_proc; + + unsigned int gssd_running; }; extern int sunrpc_net_id; |