Skip to contentSkip to conversation

NFS: pnfs: fix stale references in pnfs.rst

PATCH In review Minxi Hou 1 participant 2 messages Jun 19 – Jun 30

Subsystems (3)
lore
Share & tools
lore

Minxi Hou

author
#0 lore raw

PATCH 1/1 NFS: pnfs: fix stale references in pnfs.rst

The layout header list was moved from struct nfs_client (cl_layouts) to struct nfs_server (layouts) in commit 6382a44138e7 ("NFS: move pnfs layouts to nfs_server structure"), but the documentation was not updated.

Also update the layout driver description to reflect that the objects layout driver was removed in commit 6d22323b2e9f ("nfs: remove the objlayout driver"), leaving 3 layout types implemented in the kernel
client: files, blocks, and flexfiles.

---
 Documentation/filesystems/nfs/pnfs.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/nfs/pnfs.rst +3 -3
index 7c470ecdc3a9..ea3d15cc4549 100644
@@ -22,7 +22,7 @@ outstanding RPC call that references it (LAYOUTGET, LAYOUTRETURN,
 LAYOUTCOMMIT), and for each lseg held within.
 
 Each header is also (when non-empty) put on a list associated with
-struct nfs_client (cl_layouts).  Being put on this list does not bump
+struct nfs_server (layouts).  Being put on this list does not bump
 the reference count, as the layout is kept around by the lseg that
 keeps it in the list.
 
@@ -62,8 +62,8 @@ bit is set, preventing any new lsegs from being added.
 layout drivers
 ==============
 
-PNFS utilizes what is called layout drivers. The STD defines 4 basic
-layout types: "files", "objects", "blocks", and "flexfiles". For each
+PNFS utilizes what is called layout drivers. The Linux NFS client
+implements 3 layout types: "files", "blocks", and "flexfiles". For each
 of these types there is a layout-driver with a common function-vectors
 table which are called by the nfs-client pnfs-core to implement the
 different layout types.
Signature · 1 line
2.54.0
author
#1 lore raw

Hi,

Friendly ping on this documentation fix. It corrects two stale references in pnfs.rst (a removed struct field and a renamed function). Happy to respin if any changes are needed.

Thanks,
Minxi