| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config NFS_FS |
|---|
| 2 | 3 | tristate "NFS client support" |
|---|
| 3 | 4 | depends on INET && FILE_LOCKING && MULTIUSER |
|---|
| .. | .. |
|---|
| 121 | 122 | config PNFS_BLOCK |
|---|
| 122 | 123 | tristate |
|---|
| 123 | 124 | depends on NFS_V4_1 && BLK_DEV_DM |
|---|
| 124 | | - depends on 64BIT || LBDAF |
|---|
| 125 | 125 | default NFS_V4 |
|---|
| 126 | 126 | |
|---|
| 127 | 127 | config PNFS_FLEXFILE_LAYOUT |
|---|
| .. | .. |
|---|
| 164 | 164 | If you want your system to mount its root file system via NFS, |
|---|
| 165 | 165 | choose Y here. This is common practice for managing systems |
|---|
| 166 | 166 | without local permanent storage. For details, read |
|---|
| 167 | | - <file:Documentation/filesystems/nfs/nfsroot.txt>. |
|---|
| 167 | + <file:Documentation/admin-guide/nfs/nfsroot.rst>. |
|---|
| 168 | 168 | |
|---|
| 169 | 169 | Most people say N here. |
|---|
| 170 | 170 | |
|---|
| .. | .. |
|---|
| 196 | 196 | depends on NFS_FS && SUNRPC_DEBUG |
|---|
| 197 | 197 | select CRC32 |
|---|
| 198 | 198 | 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. |
|---|