diff --git a/nfs-utils-2.5.4-rdirplus-man.patch b/nfs-utils-2.5.4-rdirplus-man.patch new file mode 100644 index 0000000..792f63e --- /dev/null +++ b/nfs-utils-2.5.4-rdirplus-man.patch @@ -0,0 +1,25 @@ +diff -up nfs-utils-2.5.4/utils/mount/nfs.man.orig nfs-utils-2.5.4/utils/mount/nfs.man +--- nfs-utils-2.5.4/utils/mount/nfs.man.orig 2025-04-14 11:05:21.218916553 -0400 ++++ nfs-utils-2.5.4/utils/mount/nfs.man 2025-04-14 11:06:50.822741625 -0400 +@@ -430,11 +430,16 @@ created network transport, the client wi + list of available transports for that RPC client. + .TP 1.5i + .BR rdirplus " / " nordirplus +-Selects whether to use NFS v3 or v4 READDIRPLUS requests. +-If this option is not specified, the NFS client uses READDIRPLUS requests +-on NFS v3 or v4 mounts to read small directories. +-Some applications perform better if the client uses only READDIR requests +-for all directories. ++Selects whether to use NFS v3 or v4 READDIRPLUS requests. If this option is ++not specified, the NFS client uses a heuristic to optimize performance by ++choosing READDIR vs READDIRPLUS based on how often the calling process uses ++the additional attributes returned from READDIRPLUS. Some applications ++perform better if the client uses only READDIR requests for all directories. ++.TP 1.5i ++.BR rdirplus={none|force} ++If set to "force", the NFS client always attempts to use READDIRPLUS ++requests. If set to "none", the behavior is the same as ++.B nordirplus. + .TP 1.5i + .BI retry= n + The number of minutes that the diff --git a/nfs-utils.spec b/nfs-utils.spec index 8e2c878..7b342f4 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://linux-nfs.org/ Version: 2.5.4 -Release: 34%{?dist} +Release: 35%{?dist} Epoch: 1 # group all 32bit related archs @@ -73,7 +73,7 @@ Patch029: nfs-utils-2.5.4-mount-writable.patch Patch030: nfs-utils-2.5.4-mount-v3-retry.patch Patch031: nfs-utils-2.5.4-conffile-argument.patch Patch032: nfs-utils-2.5.4-fix-nfsdcld-starting-too-early.patch -Patch033: nfs-utils-2.5.4-nfsiostat-fixes.patch +Patch033: nfs-utils-2.5.4-rdirplus-man.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -515,6 +515,9 @@ fi %{_mandir}/*/nfsiostat.8.gz %changelog +* Mon Apr 14 2025 Steve Dickson 2.5.4-35 +- nfs(5): Add new rdirplus functionality, clarify (RHEL-87143) + * Sun Feb 16 2025 Steve Dickson 2.5.4-34 - mountstats/nfsiostat: bugfixes for iostat (RHEL-72243)