File systems
CONFIG_DCACHE_WORD_ACCESS
CONFIG_VALIDATE_FS_PARSER Validate filesystem parameter description
Enable this to perform validation of the parameter description for a filesystem when it is registered.
CONFIG_FS_IOMAP
CONFIG_FS_STACK
CONFIG_BUFFER_HEAD
CONFIG_LEGACY_DIRECT_IO
- Depends on
BUFFER_HEAD
If BLOCK
CONFIG_FS_MBCACHE
- Off
- Module
- Built in
CONFIG_FS_DAX File system based Direct Access (DAX) support
Direct Access (DAX) can be used on memory-backed block devices. If the block device supports DAX and the filesystem supports DAX, then you can avoid using the pagecache to buffer I/Os. Turning on this option will compile in support for DAX.
For a DAX device to support file system access it needs to have struct pages. For the nfit based NVDIMMs this can be enabled using the ndctl utility:
# ndctl create-namespace --force --reconfig=namespace0.0 \
--mode=fsdax --map=mem
See the 'create-namespace' man page for details on the overhead of --map=mem: https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace
For ndctl to work CONFIG_DEV_DAX needs to be enabled as well. For most file systems DAX support needs to be manually enabled globally or per-inode using a mount option as well. See the file documentation in Documentation/filesystems/dax.rst for details.
If you do not have a block device that is capable of using this, or if unsure, say N. Saying Y will increase the size of the kernel by about 5kB.
- Depends on
&& ZONE_DEVICE - Selects
FS_IOMAP if && ZONE_DEVICE - Selects
DAX if && ZONE_DEVICE
If FS_DAX
CONFIG_FS_DAX_PMD
- Depends on
FS_DAX && ZONE_DEVICE && TRANSPARENT_HUGEPAGE
CONFIG_FS_POSIX_ACL
CONFIG_EXPORTFS
- Off
- Module
- Built in
CONFIG_EXPORTFS_BLOCK_OPS Enable filesystem export operations for block IO
This option enables the export operations for a filesystem to support external block IO.
CONFIG_FILE_LOCKING Enable POSIX file locking API
This option enables standard file locking support, required for filesystems like NFS and for the flock() system call. Disabling this option saves about 11k.
Caches
If BLOCK
If BLOCK
Pseudo filesystems
CONFIG_TMPFS Tmpfs virtual memory file system support (former shm fs)
Tmpfs is a file system which keeps all files in virtual memory.
Everything in tmpfs is temporary in the sense that no files will be created on your hard drive. The files live in memory and swap space. If you unmount a tmpfs instance, everything stored therein is lost.
See <file:Documentation/filesystems/tmpfs.rst> for details.
- Depends on
SHMEM - Selects
MEMFD_CREATE if SHMEM
If TMPFS
CONFIG_TMPFS_POSIX_ACL Tmpfs POSIX Access Control Lists
POSIX Access Control Lists (ACLs) support additional access rights for users and groups beyond the standard owner/group/world scheme, and this option selects support for ACLs specifically for tmpfs filesystems.
If you've selected TMPFS, it's possible that you'll also need this option as there are a number of Linux distros that require POSIX ACL support under /dev for certain features to work properly. For example, some distros need this feature for ALSA-related /dev files for sound to work properly. In short, if you're not sure, say Y.
- Selects
TMPFS_XATTR if TMPFS - Selects
FS_POSIX_ACL if TMPFS
CONFIG_TMPFS_XATTR Tmpfs extended attributes
Extended attributes are name:value pairs associated with inodes by the kernel or by users (see the attr(5) manual page for details).
This enables support for the trusted.*, security.* and user.* namespaces.
You need this for POSIX ACL support on tmpfs.
If unsure, say N.
CONFIG_TMPFS_INODE64 Use 64-bit ino_t by default in tmpfs
tmpfs has historically used only inode numbers as wide as an unsigned int. In some cases this can cause wraparound, potentially resulting in multiple files with the same inode number on a single device. This option makes tmpfs use the full width of ino_t by default, without needing to specify the inode64 option when mounting.
But if a long-lived tmpfs is to be accessed by 32-bit applications so ancient that opening a file larger than 2GiB fails with EINVAL, then the INODE64 config option and inode64 mount option risk operations failing with EOVERFLOW once 33-bit inode numbers are reached.
To override this configured default, use the inode32 or inode64 option when mounting.
If unsure, say N.
- Depends on
TMPFS &&
CONFIG_TMPFS_QUOTA Tmpfs quota support
Quota support allows to set per user and group limits for tmpfs usage. Say Y to enable quota support. Once enabled you can control user and group quota enforcement with quota, usrquota and grpquota mount options.
If unsure, say N.
CONFIG_ARCH_SUPPORTS_HUGETLBFS
CONFIG_HUGETLBFS HugeTLB file system support
hugetlbfs is a filesystem backing for HugeTLB pages, based on ramfs. For architectures that support it, say Y here and read <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
If unsure, say N.
- Depends on
ARCH_SUPPORTS_HUGETLBFS - Selects
MEMFD_CREATE if ARCH_SUPPORTS_HUGETLBFS - Selects
PADATA if ARCH_SUPPORTS_HUGETLBFS &&
If HUGETLBFS
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON HugeTLB Vmemmap Optimization (HVO) defaults to on
The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off (boot command line) or hugetlb_optimize_vmemmap (sysctl).
- Depends on
HUGETLBFS && HUGETLB_PAGE_OPTIMIZE_VMEMMAP
CONFIG_HUGETLB_PAGE
- Selects
XARRAY_MULTI
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP
CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING
- Depends on
ARCH_WANT_HUGE_PMD_SHARE && SPLIT_PMD_PTLOCKS
CONFIG_ARCH_HAS_GIGANTIC_PAGE
CONFIG_MISC_FILESYSTEMS Miscellaneous filesystems
Say Y here to get to see options for various miscellaneous filesystems, such as filesystems that came from other operating systems.
This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled; if unsure, say Y here.
If MISC_FILESYSTEMS
CONFIG_NETWORK_FILESYSTEMS Network File Systems
Say Y here to get to see options for network filesystems and filesystem-related networking code, such as NFS daemon and RPCSEC security modules.
This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled; if unsure, say Y here.
- Depends on
NET
If NETWORK_FILESYSTEMS
CONFIG_GRACE_PERIOD
- Off
- Module
- Built in
CONFIG_LOCKD
- Off
- Module
- Built in
- Depends on
NETWORK_FILESYSTEMS && FILE_LOCKING - Selects
CRC32 if NETWORK_FILESYSTEMS && FILE_LOCKING - Selects
GRACE_PERIOD if NETWORK_FILESYSTEMS && FILE_LOCKING
CONFIG_LOCKD_V4
- Depends on
NETWORK_FILESYSTEMS && (NFSD || NFS_V3) && FILE_LOCKING
CONFIG_NFS_ACL_SUPPORT
- Off
- Module
- Built in
- Selects
FS_POSIX_ACL if NETWORK_FILESYSTEMS
CONFIG_NFS_COMMON
- Depends on
NETWORK_FILESYSTEMS && (NFSD || NFS_FS || LOCKD)
CONFIG_NFS_COMMON_LOCALIO_SUPPORT
- Off
- Module
- Built in
- Depends on
NETWORK_FILESYSTEMS && NFS_LOCALIO - Selects
SUNRPC if NETWORK_FILESYSTEMS && NFS_LOCALIO
CONFIG_NFS_LOCALIO NFS client and server support for LOCALIO auxiliary protocol
Some NFS servers support an auxiliary NFS LOCALIO protocol that is not an official part of the NFS protocol.
This option enables support for the LOCALIO protocol in the kernel's NFS server and client. Enable this to permit local NFS clients to bypass the network when issuing reads and writes to the local NFS server.
If unsure, say N.
- Depends on
NETWORK_FILESYSTEMS && NFSD && NFS_FS - Selects
NFS_COMMON_LOCALIO_SUPPORT if NETWORK_FILESYSTEMS && NFSD && NFS_FS
CONFIG_NFS_V4_2_SSC_HELPER
CONFIG_IO_WQ
CONFIG_FDTABLE_KUNIT_TEST KUnit test for fdtable
This builds the fdtable KUnit tests, which tests various aspects of the fdtable structure and allocation.
- Depends on
KUNIT=y
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94
- arch/alpha/Kconfig:465
- arch/arc/Kconfig:167
- arch/arm/Kconfig:910
- arch/arm64/Kconfig:358
- arch/csky/Kconfig:313
- arch/hexagon/Kconfig:104
- arch/loongarch/Kconfig:513
- arch/mips/Kconfig:2700
- arch/openrisc/Kconfig:191
- arch/parisc/Kconfig:314
- arch/powerpc/platforms/Kconfig.cputype:550
- arch/riscv/Kconfig:437
- arch/s390/Kconfig:530
- arch/sh/Kconfig:560
- arch/sparc/Kconfig:158
- arch/um/Kconfig:97
- arch/x86/Kconfig:437
- arch/xtensa/Kconfig:245