11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# File system configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 51da177e4SLinus Torvaldsmenu "File systems" 61da177e4SLinus Torvalds 7bfcfaa77SLinus Torvalds# Use unaligned word dcache accesses 8bfcfaa77SLinus Torvaldsconfig DCACHE_WORD_ACCESS 9bfcfaa77SLinus Torvalds bool 10bfcfaa77SLinus Torvalds 11*31d921c7SDavid Howellsconfig VALIDATE_FS_PARSER 12*31d921c7SDavid Howells bool "Validate filesystem parameter description" 13*31d921c7SDavid Howells default y 14*31d921c7SDavid Howells help 15*31d921c7SDavid Howells Enable this to perform validation of the parameter description for a 16*31d921c7SDavid Howells filesystem when it is registered. 17*31d921c7SDavid Howells 189361401eSDavid Howellsif BLOCK 199361401eSDavid Howells 20ae259a9cSChristoph Hellwigconfig FS_IOMAP 21ae259a9cSChristoph Hellwig bool 22ae259a9cSChristoph Hellwig 236da0b38fSAlexey Dobriyansource "fs/ext2/Kconfig" 246da0b38fSAlexey Dobriyansource "fs/ext4/Kconfig" 256da0b38fSAlexey Dobriyansource "fs/jbd2/Kconfig" 26dab291afSMingming Cao 271da177e4SLinus Torvaldsconfig FS_MBCACHE 2802ea2104SMingming Cao# Meta block cache for Extended Attributes (ext2/ext3/ext4) 291da177e4SLinus Torvalds tristate 302c512397SAdrian Bunk default y if EXT2_FS=y && EXT2_FS_XATTR 31939da108STao Ma default y if EXT4_FS=y 32c290ea01SJan Kara default m if EXT2_FS_XATTR || EXT4_FS 331da177e4SLinus Torvalds 34b16ecfe2SAlexey Dobriyansource "fs/reiserfs/Kconfig" 35f5c77969SAlexey Dobriyansource "fs/jfs/Kconfig" 361da177e4SLinus Torvalds 3769050eeeSTomas Szepesource "fs/xfs/Kconfig" 3869050eeeSTomas Szepesource "fs/gfs2/Kconfig" 3969050eeeSTomas Szepesource "fs/ocfs2/Kconfig" 4069050eeeSTomas Szepesource "fs/btrfs/Kconfig" 4141f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig" 42d7196c5aSJaegeuk Kimsource "fs/f2fs/Kconfig" 4369050eeeSTomas Szepe 446cd176a5SMatthew Wilcoxconfig FS_DAX 456cd176a5SMatthew Wilcox bool "Direct Access (DAX) support" 466cd176a5SMatthew Wilcox depends on MMU 47d92576f1SMatthew Wilcox depends on !(ARM || MIPS || SPARC) 48e7638488SDan Williams select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED) 496affb9d7SRoss Zwisler select FS_IOMAP 50ef510424SDan Williams select DAX 516cd176a5SMatthew Wilcox help 526cd176a5SMatthew Wilcox Direct Access (DAX) can be used on memory-backed block devices. 536cd176a5SMatthew Wilcox If the block device supports DAX and the filesystem supports DAX, 546cd176a5SMatthew Wilcox then you can avoid using the pagecache to buffer I/Os. Turning 556cd176a5SMatthew Wilcox on this option will compile in support for DAX; you will need to 566cd176a5SMatthew Wilcox mount the filesystem using the -o dax option. 576cd176a5SMatthew Wilcox 586cd176a5SMatthew Wilcox If you do not have a block device that is capable of using this, 596cd176a5SMatthew Wilcox or if unsure, say N. Saying Y will increase the size of the kernel 606cd176a5SMatthew Wilcox by about 5kB. 616cd176a5SMatthew Wilcox 62ee82c9edSDan Williamsconfig FS_DAX_PMD 63ee82c9edSDan Williams bool 64ee82c9edSDan Williams default FS_DAX 65ee82c9edSDan Williams depends on FS_DAX 66c046c321SDan Williams depends on ZONE_DEVICE 67c046c321SDan Williams depends on TRANSPARENT_HUGEPAGE 68ee82c9edSDan Williams 69569d0365SDan Williams# Selected by DAX drivers that do not expect filesystem DAX to support 70569d0365SDan Williams# get_user_pages() of DAX mappings. I.e. "limited" indicates no support 71569d0365SDan Williams# for fork() of processes with MAP_SHARED mappings or support for 72569d0365SDan Williams# direct-I/O to a DAX mapping. 73569d0365SDan Williamsconfig FS_DAX_LIMITED 74569d0365SDan Williams bool 75569d0365SDan Williams 7669050eeeSTomas Szepeendif # BLOCK 7769050eeeSTomas Szepe 7816ebe911SRandy Dunlap# Posix ACL utility routines 7916ebe911SRandy Dunlap# 8016ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers. Never use 8116ebe911SRandy Dunlap# this symbol for ifdefs in core code. 8216ebe911SRandy Dunlap# 8316ebe911SRandy Dunlapconfig FS_POSIX_ACL 8416ebe911SRandy Dunlap def_bool n 8516ebe911SRandy Dunlap 864199ca77SRandy Dunlapconfig EXPORTFS 8779fead47SJonas Gorski tristate 884199ca77SRandy Dunlap 8915d66ac2SBenjamin Coddingtonconfig EXPORTFS_BLOCK_OPS 9015d66ac2SBenjamin Coddington bool "Enable filesystem export operations for block IO" 9115d66ac2SBenjamin Coddington help 9215d66ac2SBenjamin Coddington This option enables the export operations for a filesystem to support 9315d66ac2SBenjamin Coddington external block IO. 9415d66ac2SBenjamin Coddington 95bfcd17a6SThomas Petazzoniconfig FILE_LOCKING 966a108a14SDavid Rientjes bool "Enable POSIX file locking API" if EXPERT 97bfcd17a6SThomas Petazzoni default y 98bfcd17a6SThomas Petazzoni help 99bfcd17a6SThomas Petazzoni This option enables standard file locking support, required 100bfcd17a6SThomas Petazzoni for filesystems like NFS and for the flock() system 101bfcd17a6SThomas Petazzoni call. Disabling this option saves about 11k. 102bfcd17a6SThomas Petazzoni 1039e8925b6SJeff Laytonconfig MANDATORY_FILE_LOCKING 1049e8925b6SJeff Layton bool "Enable Mandatory file locking" 1059e8925b6SJeff Layton depends on FILE_LOCKING 1069e8925b6SJeff Layton default y 1079e8925b6SJeff Layton help 1089e8925b6SJeff Layton This option enables files appropriately marked files on appropriely 1099e8925b6SJeff Layton mounted filesystems to support mandatory locking. 1109e8925b6SJeff Layton 1119e8925b6SJeff Layton To the best of my knowledge this is dead code that no one cares about. 1129e8925b6SJeff Layton 1130b81d077SJaegeuk Kimsource "fs/crypto/Kconfig" 1140b81d077SJaegeuk Kim 115272eb014SEric Parissource "fs/notify/Kconfig" 1162d9048e2SAmy Griffis 117884d179dSJan Karasource "fs/quota/Kconfig" 1181da177e4SLinus Torvalds 1192a3ae0a1SIan Kentsource "fs/autofs/Kconfig" 1203ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig" 121e9be9d5eSMiklos Szeredisource "fs/overlayfs/Kconfig" 12204578f17SMiklos Szeredi 12306b3db1bSDavid Howellsmenu "Caches" 12406b3db1bSDavid Howells 12506b3db1bSDavid Howellssource "fs/fscache/Kconfig" 1269ae326a6SDavid Howellssource "fs/cachefiles/Kconfig" 12706b3db1bSDavid Howells 12806b3db1bSDavid Howellsendmenu 12906b3db1bSDavid Howells 1309361401eSDavid Howellsif BLOCK 1311da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems" 1321da177e4SLinus Torvalds 133ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig" 134ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig" 1351da177e4SLinus Torvalds 1361da177e4SLinus Torvaldsendmenu 13725fad945SRandy Dunlapendif # BLOCK 1381da177e4SLinus Torvalds 1399361401eSDavid Howellsif BLOCK 1401da177e4SLinus Torvaldsmenu "DOS/FAT/NT Filesystems" 1411da177e4SLinus Torvalds 1421c6ace01SAlexey Dobriyansource "fs/fat/Kconfig" 1439d73ac9eSAlexey Dobriyansource "fs/ntfs/Kconfig" 1441da177e4SLinus Torvalds 1451da177e4SLinus Torvaldsendmenu 14625fad945SRandy Dunlapendif # BLOCK 1471da177e4SLinus Torvalds 1481da177e4SLinus Torvaldsmenu "Pseudo filesystems" 1491da177e4SLinus Torvalds 1506eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig" 151ba341d55STejun Heosource "fs/kernfs/Kconfig" 1525f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig" 1531da177e4SLinus Torvalds 1541da177e4SLinus Torvaldsconfig TMPFS 155f5fc870dSRobert P. J. Day bool "Tmpfs virtual memory file system support (former shm fs)" 1563f96b79aSHugh Dickins depends on SHMEM 1571da177e4SLinus Torvalds help 1581da177e4SLinus Torvalds Tmpfs is a file system which keeps all files in virtual memory. 1591da177e4SLinus Torvalds 1601da177e4SLinus Torvalds Everything in tmpfs is temporary in the sense that no files will be 1611da177e4SLinus Torvalds created on your hard drive. The files live in memory and swap 1621da177e4SLinus Torvalds space. If you unmount a tmpfs instance, everything stored therein is 1631da177e4SLinus Torvalds lost. 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvalds See <file:Documentation/filesystems/tmpfs.txt> for details. 1661da177e4SLinus Torvalds 1674db70f73SEric Parisconfig TMPFS_POSIX_ACL 1684db70f73SEric Paris bool "Tmpfs POSIX Access Control Lists" 1694db70f73SEric Paris depends on TMPFS 1704db70f73SEric Paris select TMPFS_XATTR 171feda821eSChristoph Hellwig select FS_POSIX_ACL 1724db70f73SEric Paris help 173206506ccSRobert P. J. Day POSIX Access Control Lists (ACLs) support additional access rights 174206506ccSRobert P. J. Day for users and groups beyond the standard owner/group/world scheme, 175206506ccSRobert P. J. Day and this option selects support for ACLs specifically for tmpfs 176206506ccSRobert P. J. Day filesystems. 177206506ccSRobert P. J. Day 178206506ccSRobert P. J. Day If you've selected TMPFS, it's possible that you'll also need 179206506ccSRobert P. J. Day this option as there are a number of Linux distros that require 180206506ccSRobert P. J. Day POSIX ACL support under /dev for certain features to work properly. 181206506ccSRobert P. J. Day For example, some distros need this feature for ALSA-related /dev 182206506ccSRobert P. J. Day files for sound to work properly. In short, if you're not sure, 183206506ccSRobert P. J. Day say Y. 1844db70f73SEric Paris 185b09e0fa4SEric Parisconfig TMPFS_XATTR 186b09e0fa4SEric Paris bool "Tmpfs extended attributes" 187b09e0fa4SEric Paris depends on TMPFS 188b09e0fa4SEric Paris default n 189b09e0fa4SEric Paris help 190b09e0fa4SEric Paris Extended attributes are name:value pairs associated with inodes by 19191581e4cSAdam Borowski the kernel or by users (see the attr(5) manual page for details). 192b09e0fa4SEric Paris 193b09e0fa4SEric Paris Currently this enables support for the trusted.* and 194b09e0fa4SEric Paris security.* namespaces. 195b09e0fa4SEric Paris 196b09e0fa4SEric Paris You need this for POSIX ACL support on tmpfs. 197b09e0fa4SEric Paris 1984db70f73SEric Paris If unsure, say N. 19939f0247dSAndreas Gruenbacher 2001da177e4SLinus Torvaldsconfig HUGETLBFS 2011da177e4SLinus Torvalds bool "HugeTLB file system support" 2025a1eb5c4SBenjamin Herrenschmidt depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \ 203ffb4a73dSPaul Mundt SYS_SUPPORTS_HUGETLBFS || BROKEN 204dda27d1aSArthur Othieno help 205dda27d1aSArthur Othieno hugetlbfs is a filesystem backing for HugeTLB pages, based on 206dda27d1aSArthur Othieno ramfs. For architectures that support it, say Y here and read 2071ad1335dSMike Rapoport <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details. 208dda27d1aSArthur Othieno 209dda27d1aSArthur Othieno If unsure, say N. 2101da177e4SLinus Torvalds 2111da177e4SLinus Torvaldsconfig HUGETLB_PAGE 2121da177e4SLinus Torvalds def_bool HUGETLBFS 2131da177e4SLinus Torvalds 2145d752600SMike Kravetzconfig MEMFD_CREATE 2155d752600SMike Kravetz def_bool TMPFS || HUGETLBFS 2165d752600SMike Kravetz 217461a7184SYisheng Xieconfig ARCH_HAS_GIGANTIC_PAGE 218461a7184SYisheng Xie bool 219461a7184SYisheng Xie 2204591dabeSAlexey Dobriyansource "fs/configfs/Kconfig" 22162c204ddSLeif Lindholmsource "fs/efivarfs/Kconfig" 2227063fbf2SJoel Becker 2231da177e4SLinus Torvaldsendmenu 2241da177e4SLinus Torvalds 22567ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS 22667ec7d3aSRandy Dunlap bool "Miscellaneous filesystems" 22767ec7d3aSRandy Dunlap default y 22867ec7d3aSRandy Dunlap ---help--- 22967ec7d3aSRandy Dunlap Say Y here to get to see options for various miscellaneous 23067ec7d3aSRandy Dunlap filesystems, such as filesystems that came from other 23167ec7d3aSRandy Dunlap operating systems. 23267ec7d3aSRandy Dunlap 23367ec7d3aSRandy Dunlap This option alone does not add any kernel code. 23467ec7d3aSRandy Dunlap 23567ec7d3aSRandy Dunlap If you say N, all options in this submenu will be skipped and 23667ec7d3aSRandy Dunlap disabled; if unsure, say Y here. 23767ec7d3aSRandy Dunlap 23867ec7d3aSRandy Dunlapif MISC_FILESYSTEMS 2391da177e4SLinus Torvalds 24007f01962SMike Marshallsource "fs/orangefs/Kconfig" 241bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig" 24210951bf0SAlexey Dobriyansource "fs/affs/Kconfig" 243295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig" 244b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig" 245b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig" 2460b09eb32SAlexey Dobriyansource "fs/befs/Kconfig" 2470ff42384SAlexey Dobriyansource "fs/bfs/Kconfig" 248571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig" 24931db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig" 2500d7eff87SArtem Bityutskiy# UBIFS File system configuration 2510d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig" 2522a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig" 25322635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig" 25422135169SAlexey Dobriyansource "fs/freevxfs/Kconfig" 2558b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig" 256da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig" 257928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig" 2584c741583SAlexey Dobriyansource "fs/qnx4/Kconfig" 2595d026c72SKai Bankettsource "fs/qnx6/Kconfig" 26041810246SAlexey Dobriyansource "fs/romfs/Kconfig" 261ca01d6ddSTony Lucksource "fs/pstore/Kconfig" 2628af915baSAlexey Dobriyansource "fs/sysv/Kconfig" 263a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig" 2640d8fe329SBoaz Harroshsource "fs/exofs/Kconfig" 2650c4fb877SRyusuke Konishi 26667ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS 2671da177e4SLinus Torvalds 268831c2dc5SBoaz Harroshsource "fs/exofs/Kconfig.ore" 269831c2dc5SBoaz Harrosh 270ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS 271ea0985adSJan Engelhardt bool "Network File Systems" 272ea0985adSJan Engelhardt default y 2731da177e4SLinus Torvalds depends on NET 274ea0985adSJan Engelhardt ---help--- 275ea0985adSJan Engelhardt Say Y here to get to see options for network filesystems and 276ea0985adSJan Engelhardt filesystem-related networking code, such as NFS daemon and 277ea0985adSJan Engelhardt RPCSEC security modules. 2786fb1bc10SChuck Lever 279ea0985adSJan Engelhardt This option alone does not add any kernel code. 280ea0985adSJan Engelhardt 281ea0985adSJan Engelhardt If you say N, all options in this submenu will be skipped and 282ea0985adSJan Engelhardt disabled; if unsure, say Y here. 283ea0985adSJan Engelhardt 284ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS 2851da177e4SLinus Torvalds 28697afe47aSAlexey Dobriyansource "fs/nfs/Kconfig" 287e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig" 2881da177e4SLinus Torvalds 289f7790029SJeff Laytonconfig GRACE_PERIOD 290f7790029SJeff Layton tristate 291f7790029SJeff Layton 2921da177e4SLinus Torvaldsconfig LOCKD 2931da177e4SLinus Torvalds tristate 294dd4dc82dSRandy Dunlap depends on FILE_LOCKING 295f7790029SJeff Layton select GRACE_PERIOD 2961da177e4SLinus Torvalds 2971da177e4SLinus Torvaldsconfig LOCKD_V4 2981da177e4SLinus Torvalds bool 2991da177e4SLinus Torvalds depends on NFSD_V3 || NFS_V3 300dd4dc82dSRandy Dunlap depends on FILE_LOCKING 3011da177e4SLinus Torvalds default y 3021da177e4SLinus Torvalds 303a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT 304a257cdd0SAndreas Gruenbacher tristate 305a257cdd0SAndreas Gruenbacher select FS_POSIX_ACL 306a257cdd0SAndreas Gruenbacher 307a257cdd0SAndreas Gruenbacherconfig NFS_COMMON 308a257cdd0SAndreas Gruenbacher bool 309f7790029SJeff Layton depends on NFSD || NFS_FS || LOCKD 310a257cdd0SAndreas Gruenbacher default y 311a257cdd0SAndreas Gruenbacher 3129098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig" 3139030aaf9SSage Weilsource "fs/ceph/Kconfig" 314bb26b963SAlexey Dobriyansource "fs/cifs/Kconfig" 31533a1a6feSAlexey Dobriyansource "fs/coda/Kconfig" 316b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig" 3170fcb4408SAlexey Dobriyansource "fs/9p/Kconfig" 31893fa58cbSEric Van Hensbergen 319ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS 3201da177e4SLinus Torvalds 3211da177e4SLinus Torvaldssource "fs/nls/Kconfig" 322e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig" 3231da177e4SLinus Torvalds 3241da177e4SLinus Torvaldsendmenu 325