diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 18:22:01 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 07:40:49 -0500 |
commit | 73758fed711b847d833b9b0db59137eaeed06485 (patch) | |
tree | 3941b6db0317eafd62364e6acd0a72901b322a76 /fs/nfsd/netns.h | |
parent | 5ed58bb243484e01e82ffca8451907403168e262 (diff) | |
download | op-kernel-dev-73758fed711b847d833b9b0db59137eaeed06485.zip op-kernel-dev-73758fed711b847d833b9b0db59137eaeed06485.tar.gz |
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 9a98a0a..a356ea3 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; |