hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/nfs/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config NFS_FS
23 tristate "NFS client support"
34 depends on INET && FILE_LOCKING && MULTIUSER
....@@ -121,7 +122,6 @@
121122 config PNFS_BLOCK
122123 tristate
123124 depends on NFS_V4_1 && BLK_DEV_DM
124
- depends on 64BIT || LBDAF
125125 default NFS_V4
126126
127127 config PNFS_FLEXFILE_LAYOUT
....@@ -164,7 +164,7 @@
164164 If you want your system to mount its root file system via NFS,
165165 choose Y here. This is common practice for managing systems
166166 without local permanent storage. For details, read
167
- <file:Documentation/filesystems/nfs/nfsroot.txt>.
167
+ <file:Documentation/admin-guide/nfs/nfsroot.rst>.
168168
169169 Most people say N here.
170170
....@@ -196,3 +196,21 @@
196196 depends on NFS_FS && SUNRPC_DEBUG
197197 select CRC32
198198 default y
199
+
200
+config NFS_DISABLE_UDP_SUPPORT
201
+ bool "NFS: Disable NFS UDP protocol support"
202
+ depends on NFS_FS
203
+ default y
204
+ help
205
+ Choose Y here to disable the use of NFS over UDP. NFS over UDP
206
+ on modern networks (1Gb+) can lead to data corruption caused by
207
+ fragmentation during high loads.
208
+
209
+config NFS_V4_2_READ_PLUS
210
+ bool "NFS: Enable support for the NFSv4.2 READ_PLUS operation"
211
+ depends on NFS_V4_2
212
+ default n
213
+ help
214
+ This is intended for developers only. The READ_PLUS operation has
215
+ been shown to have issues under specific conditions and should not
216
+ be used in production.