summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2011-03-01 02:34:23 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-11 21:38:43 +0100
commit80fe2b192dbc53261e385dc26d90f5195f1c62e7 (patch)
tree853c607e49f66dcf62012572b765976a2dc40ca8
parentNFSv4.1: turn off pNFS on ds connection failure (diff)
downloadlinux-80fe2b192dbc53261e385dc26d90f5195f1c62e7.tar.xz
linux-80fe2b192dbc53261e385dc26d90f5195f1c62e7.zip
NFSv4.1: lseg documentation
Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--Documentation/filesystems/nfs/pnfs.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/nfs/pnfs.txt b/Documentation/filesystems/nfs/pnfs.txt
index bc0b9cfe095b..983e14abe7e9 100644
--- a/Documentation/filesystems/nfs/pnfs.txt
+++ b/Documentation/filesystems/nfs/pnfs.txt
@@ -46,3 +46,10 @@ data server cache
file driver devices refer to data servers, which are kept in a module
level cache. Its reference is held over the lifetime of the deviceid
pointing to it.
+
+lseg
+----
+lseg maintains an extra reference corresponding to the NFS_LSEG_VALID
+bit which holds it in the pnfs_layout_hdr's list. When the final lseg
+is removed from the pnfs_layout_hdr's list, the NFS_LAYOUT_DESTROYED
+bit is set, preventing any new lsegs from being added.