diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-08-05 15:13:30 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-05 16:09:20 -0400 |
commit | 14a571a8ecc69feadce8973bd67090a7d0430123 (patch) | |
tree | 72b2e29ca3b7adb1381dff4bf589da92fbd10cc7 /fs/nfsd/netns.h | |
parent | b687f6863eed050aa56fe176e513025907ecd287 (diff) |
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.h | 8 |
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 @@ | |||
34 | struct cld_net; | 34 | struct cld_net; |
35 | struct nfsd4_client_tracking_ops; | 35 | struct nfsd4_client_tracking_ops; |
36 | 36 | ||
37 | /* | ||
38 | * Represents a nfsd "container". With respect to nfsv4 state tracking, the | ||
39 | * fields of interest are the *_id_hashtbls and the *_name_tree. These track | ||
40 | * the nfs4_client objects by either short or long form clientid. | ||
41 | * | ||
42 | * Each nfsd_net runs a nfs4_laundromat workqueue job when necessary to clean | ||
43 | * up expired clients and delegations within the container. | ||
44 | */ | ||
37 | struct nfsd_net { | 45 | struct nfsd_net { |
38 | struct cld_net *cld_net; | 46 | struct cld_net *cld_net; |
39 | 47 | ||