浏览代码

NFSv4.1: lseg documentation

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Fred Isaman 14 年之前
父节点
当前提交
80fe2b192d
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Documentation/filesystems/nfs/pnfs.txt

+ 7 - 0
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.