summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorJeff Layton2014-08-05 21:13:30 +0200
committerJ. Bruce Fields2014-08-05 22:09:20 +0200
commit14a571a8ecc69feadce8973bd67090a7d0430123 (patch)
tree72b2e29ca3b7adb1381dff4bf589da92fbd10cc7 /fs/nfsd/netns.h
parentnfsd: remove the client_mutex and the nfs4_lock/unlock_state wrappers (diff)
downloadkernel-qcow2-linux-14a571a8ecc69feadce8973bd67090a7d0430123.tar.gz
kernel-qcow2-linux-14a571a8ecc69feadce8973bd67090a7d0430123.tar.xz
kernel-qcow2-linux-14a571a8ecc69feadce8973bd67090a7d0430123.zip
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;