nfs:nfs3_shrinkreaddir Parameter
- Description
-
Some older NFS servers might incorrectly handle NFS version 3
READDIRrequests for more than 1024 bytes of directory information. This problem is due to a bug in the server implementation. However, this parameter contains a workaround in the NFS version 3 client.When this parameter is enabled, the client does not generate
READDIRrequest for larger than 1024 bytes of directory information. If this parameter is disabled, then the over-the-wire size is set to the minimum of either the size passed in by using thegetdentssystem call or by usingMAXBSIZE, which is 8192 bytes. For more information, see thegetdents(2) man page. - Data Type
-
Integer (32-bit)
- Default
-
0 (disabled)
- Range
-
0 (disabled) or 1 (enabled)
- Units
-
Boolean values
- Dynamic?
-
Yes
- Validation
-
None
- When to Change
-
Examine the value of this parameter if an older NFS version 3 only server is used and interoperability problems occur when the server tries to read directories. Enabling this parameter might cause a slight decrease in performance for applications that read directories.
- Commitment Level
-
Unstable