path: root/fs/nfsd/netns.h
diff options
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 18:21:21 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 07:40:43 -0500
commit8daae4dc0d09d44d38194f72bc91740b46a6ce53 (patch)
treec4933515f589cee71d5140ffa1446b678d243bee /fs/nfsd/netns.h
parent52e19c09a183d82d99f10c284bc8b27933b1d1fc (diff)
nfsd: make conf_id_hashtbl allocated per net
This hash holds nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't waste resources if server is not running. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 49e54790d86..0cc85e95e8a 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -50,6 +50,7 @@ struct nfsd_net {
struct list_head *reclaim_str_hashtbl;
int reclaim_str_hashtbl_size;
+ struct list_head *conf_id_hashtbl;
extern int nfsd_net_id;