Re: NFS mount option rdirplus

"Mora, Jorge" <[email protected]> Fri, 17 Jul 2026 16:35:29 +0000
Newsgroups gmane.linux.nfs
Message-ID <SA1PR06MB11353323AA28FA09C4EC56163E1C62@SA1PR06MB11353.namprd06.prod.outlook.com>
+Stephen Abbene
+Peter Yoo

--Jorge
________________________________________
From: Mora, Jorge
Sent: Wednesday, July 8, 2026 2:59 PM
To: [email protected]; Trond Myklebust
Cc: Williams, Keith
Subject: NFS mount option rdirplus

Hello Trond,

A customer is experiencing significant performance degradation after switching from Rocky Linux 8.7 clients to a 6.12 upstream kernel. The clients with the newer kernel are seeing a dramatic increase in GETATTR/LOOKUP operations. Their workload primarily involves traversing a read-only directory tree and reading or retrieving file attributes.

This issue is related to changes made to add heuristics to READDIRPLUS. We have been testing on RHEL 9.7 using the mount option 'rdirplus=force' to reduce the number of GETATTR/LOOKUP operations. However, this option introduces other issues.

Is it possible to add a mount option to completely bypass the readdir heuristics, such as 'rdirplus=legacy'? Alternatively, could a mount option be added to make the client less aggressive in sending READDIRPLUS requests, such as 'rdirplus=eager'?


--Jorge