diff options
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index d7312825592b..55c1a0374e13 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1637,30 +1637,6 @@ config NFS_V4 | |||
1637 | 1637 | ||
1638 | If unsure, say N. | 1638 | If unsure, say N. |
1639 | 1639 | ||
1640 | config NFS_DIRECTIO | ||
1641 | bool "Allow direct I/O on NFS files" | ||
1642 | depends on NFS_FS | ||
1643 | help | ||
1644 | This option enables applications to perform uncached I/O on files | ||
1645 | in NFS file systems using the O_DIRECT open() flag. When O_DIRECT | ||
1646 | is set for a file, its data is not cached in the system's page | ||
1647 | cache. Data is moved to and from user-level application buffers | ||
1648 | directly. Unlike local disk-based file systems, NFS O_DIRECT has | ||
1649 | no alignment restrictions. | ||
1650 | |||
1651 | Unless your program is designed to use O_DIRECT properly, you are | ||
1652 | much better off allowing the NFS client to manage data caching for | ||
1653 | you. Misusing O_DIRECT can cause poor server performance or network | ||
1654 | storms. This kernel build option defaults OFF to avoid exposing | ||
1655 | system administrators unwittingly to a potentially hazardous | ||
1656 | feature. | ||
1657 | |||
1658 | For more details on NFS O_DIRECT, see fs/nfs/direct.c. | ||
1659 | |||
1660 | If unsure, say N. This reduces the size of the NFS client, and | ||
1661 | causes open() to return EINVAL if a file residing in NFS is | ||
1662 | opened with the O_DIRECT flag. | ||
1663 | |||
1664 | config NFSD | 1640 | config NFSD |
1665 | tristate "NFS server support" | 1641 | tristate "NFS server support" |
1666 | depends on INET | 1642 | depends on INET |