diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 16:22:01 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 13:40:49 +0100 |
commit | 73758fed711b847d833b9b0db59137eaeed06485 (patch) | |
tree | 3941b6db0317eafd62364e6acd0a72901b322a76 /fs/nfsd/netns.h | |
parent | nfsd: make client_lru list per net (diff) | |
download | linux-73758fed711b847d833b9b0db59137eaeed06485.tar.xz linux-73758fed711b847d833b9b0db59137eaeed06485.zip |
nfsd: make close_lru list per net
This list holds nfs4 clients (open) stateowner queue for last close replay,
which are network namespace aware. So let's make this list per network
namespace too.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r-- | fs/nfsd/netns.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 9a98a0aeee68..a356ea3dc686 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h @@ -71,8 +71,14 @@ struct nfsd_net { /* * client_lru holds client queue ordered by nfs4_client.cl_time * for lease renewal. + * + * close_lru holds (open) stateowner queue ordered by nfs4_stateowner.so_time + * for last close replay. + * + * All of the above fields are protected by the client_mutex. */ struct list_head client_lru; + struct list_head close_lru; }; extern int nfsd_net_id; |