diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-15 14:28:54 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-16 09:15:41 -0400 |
commit | abfdbd53a4e28844ad953b313f017f55edbb85b7 (patch) | |
tree | e75cce0ff477831f77a5cb4be6984a7a9248132b /net/sunrpc/netns.h | |
parent | d36ccb9cec22a09a12d9ef8234d634f840d7ae4b (diff) |
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 { | |||
29 | struct rpc_clnt *gssp_clnt; | 29 | struct rpc_clnt *gssp_clnt; |
30 | int use_gss_proxy; | 30 | int use_gss_proxy; |
31 | struct proc_dir_entry *use_gssp_proc; | 31 | struct proc_dir_entry *use_gssp_proc; |
32 | |||
33 | unsigned int gssd_running; | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | extern int sunrpc_net_id; | 36 | extern int sunrpc_net_id; |