summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-08-05 23:13:30 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-06 00:09:20 +0400
commit14a571a8ecc69feadce8973bd67090a7d0430123 (patch)
tree72b2e29ca3b7adb1381dff4bf589da92fbd10cc7 /fs/nfsd/netns.h
parentb687f6863eed050aa56fe176e513025907ecd287 (diff)
downloadlinux-14a571a8ecc69feadce8973bd67090a7d0430123.tar.xz
nfsd: add some comments to the nfsd4 object definitions
Add some comments that describe what each of these objects is, and how they related to one another. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 3831ef6e5c75..ea6749a32760 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -34,6 +34,14 @@
struct cld_net;
struct nfsd4_client_tracking_ops;
+/*
+ * Represents a nfsd "container". With respect to nfsv4 state tracking, the
+ * fields of interest are the *_id_hashtbls and the *_name_tree. These track
+ * the nfs4_client objects by either short or long form clientid.
+ *
+ * Each nfsd_net runs a nfs4_laundromat workqueue job when necessary to clean
+ * up expired clients and delegations within the container.
+ */
struct nfsd_net {
struct cld_net *cld_net;