ec8f24b7faaf3 (Thomas Gleixner 2019-05-19 13:07:45 +0100 1) # SPDX-License-Identifier: GPL-2.0-only
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 2) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 3) # File system configuration
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 4) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 5)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 6) menu "File systems"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 7)
bfcfaa77bdf0f (Linus Torvalds 2012-03-06 11:16:17 -0800 8) # Use unaligned word dcache accesses
bfcfaa77bdf0f (Linus Torvalds 2012-03-06 11:16:17 -0800 9) config DCACHE_WORD_ACCESS
bfcfaa77bdf0f (Linus Torvalds 2012-03-06 11:16:17 -0800 10) bool
bfcfaa77bdf0f (Linus Torvalds 2012-03-06 11:16:17 -0800 11)
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 12) config VALIDATE_FS_PARSER
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 13) bool "Validate filesystem parameter description"
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 14) help
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 15) Enable this to perform validation of the parameter description for a
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 16) filesystem when it is registered.
31d921c7fb969 (David Howells 2018-11-01 23:07:24 +0000 17)
9361401eb7619 (David Howells 2006-09-30 20:45:40 +0200 18) if BLOCK
9361401eb7619 (David Howells 2006-09-30 20:45:40 +0200 19)
ae259a9c8593f (Christoph Hellwig 2016-06-21 09:23:11 +1000 20) config FS_IOMAP
ae259a9c8593f (Christoph Hellwig 2016-06-21 09:23:11 +1000 21) bool
ae259a9c8593f (Christoph Hellwig 2016-06-21 09:23:11 +1000 22)
6da0b38f4433f (Alexey Dobriyan 2008-10-20 22:28:45 +0400 23) source "fs/ext2/Kconfig"
6da0b38f4433f (Alexey Dobriyan 2008-10-20 22:28:45 +0400 24) source "fs/ext4/Kconfig"
6da0b38f4433f (Alexey Dobriyan 2008-10-20 22:28:45 +0400 25) source "fs/jbd2/Kconfig"
dab291af8d630 (Mingming Cao 2006-10-11 01:21:01 -0700 26)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 27) config FS_MBCACHE
02ea2104c55b6 (Mingming Cao 2006-10-11 01:20:56 -0700 28) # Meta block cache for Extended Attributes (ext2/ext3/ext4)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 29) tristate
2c512397ca060 (Adrian Bunk 2008-08-20 16:56:22 -0700 30) default y if EXT2_FS=y && EXT2_FS_XATTR
939da10844582 (Tao Ma 2012-12-10 16:30:43 -0500 31) default y if EXT4_FS=y
c290ea01abb79 (Jan Kara 2015-06-18 16:52:29 +0200 32) default m if EXT2_FS_XATTR || EXT4_FS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 33)
b16ecfe2f985f (Alexey Dobriyan 2009-01-22 10:22:31 +0300 34) source "fs/reiserfs/Kconfig"
f5c77969b33cc (Alexey Dobriyan 2009-01-22 10:24:27 +0300 35) source "fs/jfs/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 36)
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 37) source "fs/xfs/Kconfig"
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 38) source "fs/gfs2/Kconfig"
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 39) source "fs/ocfs2/Kconfig"
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 40) source "fs/btrfs/Kconfig"
41f4db0f48c72 (Ryusuke Konishi 2009-08-08 16:09:46 +0900 41) source "fs/nilfs2/Kconfig"
d7196c5a32caf (Jaegeuk Kim 2015-03-03 17:06:55 -0800 42) source "fs/f2fs/Kconfig"
8dcc1a9d90c10 (Damien Le Moal 2019-12-25 16:07:44 +0900 43) source "fs/zonefs/Kconfig"
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 44)
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 45) config FS_DAX
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 46) bool "Direct Access (DAX) support"
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 47) depends on MMU
d92576f1167ca (Matthew Wilcox 2015-02-16 15:59:44 -0800 48) depends on !(ARM || MIPS || SPARC)
e763848843441 (Dan Williams 2018-05-16 11:46:08 -0700 49) select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED)
6affb9d7b137f (Ross Zwisler 2017-01-24 15:17:51 -0800 50) select FS_IOMAP
ef51042472f55 (Dan Williams 2017-05-08 10:55:27 -0700 51) select DAX
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 52) help
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 53) Direct Access (DAX) can be used on memory-backed block devices.
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 54) If the block device supports DAX and the filesystem supports DAX,
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 55) then you can avoid using the pagecache to buffer I/Os. Turning
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 56) on this option will compile in support for DAX; you will need to
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 57) mount the filesystem using the -o dax option.
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 58)
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 59) If you do not have a block device that is capable of using this,
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 60) or if unsure, say N. Saying Y will increase the size of the kernel
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 61) by about 5kB.
6cd176a51e52e (Matthew Wilcox 2015-02-16 15:59:25 -0800 62)
ee82c9ed41e89 (Dan Williams 2015-11-15 16:06:32 -0800 63) config FS_DAX_PMD
ee82c9ed41e89 (Dan Williams 2015-11-15 16:06:32 -0800 64) bool
ee82c9ed41e89 (Dan Williams 2015-11-15 16:06:32 -0800 65) default FS_DAX
ee82c9ed41e89 (Dan Williams 2015-11-15 16:06:32 -0800 66) depends on FS_DAX
c046c321cb4a0 (Dan Williams 2016-01-15 16:57:01 -0800 67) depends on ZONE_DEVICE
c046c321cb4a0 (Dan Williams 2016-01-15 16:57:01 -0800 68) depends on TRANSPARENT_HUGEPAGE
ee82c9ed41e89 (Dan Williams 2015-11-15 16:06:32 -0800 69)
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 70) # Selected by DAX drivers that do not expect filesystem DAX to support
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 71) # get_user_pages() of DAX mappings. I.e. "limited" indicates no support
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 72) # for fork() of processes with MAP_SHARED mappings or support for
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 73) # direct-I/O to a DAX mapping.
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 74) config FS_DAX_LIMITED
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 75) bool
569d0365f571f (Dan Williams 2017-10-14 11:33:32 -0700 76)
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 77) endif # BLOCK
69050eee8e08a (Tomas Szepe 2009-06-16 15:33:56 -0700 78)
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 79) # Posix ACL utility routines
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 80) #
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 81) # Note: Posix ACLs can be implemented without these helpers. Never use
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 82) # this symbol for ifdefs in core code.
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 83) #
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 84) config FS_POSIX_ACL
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 85) def_bool n
16ebe911eba8a (Randy Dunlap 2011-01-02 14:44:00 -0800 86)
4199ca77cc44c (Randy Dunlap 2010-10-26 14:22:32 -0700 87) config EXPORTFS
79fead47c51b8 (Jonas Gorski 2011-05-24 20:12:08 +0200 88) tristate
4199ca77cc44c (Randy Dunlap 2010-10-26 14:22:32 -0700 89)
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 90) config EXPORTFS_BLOCK_OPS
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 91) bool "Enable filesystem export operations for block IO"
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 92) help
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 93) This option enables the export operations for a filesystem to support
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 94) external block IO.
15d66ac20927e (Benjamin Coddington 2016-07-08 09:53:20 -0400 95)
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 96) config FILE_LOCKING
6a108a14fa356 (David Rientjes 2011-01-20 14:44:16 -0800 97) bool "Enable POSIX file locking API" if EXPERT
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 98) default y
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 99) help
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 100) This option enables standard file locking support, required
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 101) for filesystems like NFS and for the flock() system
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 102) call. Disabling this option saves about 11k.
bfcd17a6c5529 (Thomas Petazzoni 2008-08-06 15:12:22 +0200 103)
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 104) config MANDATORY_FILE_LOCKING
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 105) bool "Enable Mandatory file locking"
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 106) depends on FILE_LOCKING
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 107) default y
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 108) help
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 109) This option enables files appropriately marked files on appropriely
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 110) mounted filesystems to support mandatory locking.
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 111)
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 112) To the best of my knowledge this is dead code that no one cares about.
9e8925b67a809 (Jeff Layton 2015-11-16 09:49:34 -0500 113)
0b81d07790726 (Jaegeuk Kim 2015-05-15 16:26:10 -0700 114) source "fs/crypto/Kconfig"
0b81d07790726 (Jaegeuk Kim 2015-05-15 16:26:10 -0700 115)
671e67b47e9ff (Eric Biggers 2019-07-22 09:26:21 -0700 116) source "fs/verity/Kconfig"
671e67b47e9ff (Eric Biggers 2019-07-22 09:26:21 -0700 117)
272eb01485dda (Eric Paris 2008-12-17 13:59:41 -0500 118) source "fs/notify/Kconfig"
0eeca28300df1 (Robert Love 2005-07-12 17:06:03 -0400 119)
884d179dff3aa (Jan Kara 2009-01-26 15:28:09 +0100 120) source "fs/quota/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 121)
2a3ae0a1212dc (Ian Kent 2018-06-07 17:11:31 -0700 122) source "fs/autofs/Kconfig"
3ef7784e47975 (Alexey Dobriyan 2009-01-22 10:33:25 +0300 123) source "fs/fuse/Kconfig"
e9be9d5e76e34 (Miklos Szeredi 2014-10-24 00:14:38 +0200 124) source "fs/overlayfs/Kconfig"
04578f174f43d (Miklos Szeredi 2005-09-09 13:10:22 -0700 125)
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 126) menu "Caches"
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 127)
3d3c95046742e (David Howells 2020-05-13 17:41:20 +0100 128) source "fs/netfs/Kconfig"
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 129) source "fs/fscache/Kconfig"
9ae326a69004d (David Howells 2009-04-03 16:42:41 +0100 130) source "fs/cachefiles/Kconfig"
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 131)
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 132) endmenu
06b3db1b9bccd (David Howells 2009-04-03 16:42:36 +0100 133)
9361401eb7619 (David Howells 2006-09-30 20:45:40 +0200 134) if BLOCK
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 135) menu "CD-ROM/DVD Filesystems"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 136)
ddfaccd995b2d (Alexey Dobriyan 2009-01-22 10:35:21 +0300 137) source "fs/isofs/Kconfig"
ddfaccd995b2d (Alexey Dobriyan 2009-01-22 10:35:21 +0300 138) source "fs/udf/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 139)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 140) endmenu
25fad945a7f7f (Randy Dunlap 2008-02-07 00:15:16 -0800 141) endif # BLOCK
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 142)
9361401eb7619 (David Howells 2006-09-30 20:45:40 +0200 143) if BLOCK
b9d1e2e6265f5 (Namjae Jeon 2020-03-02 15:21:42 +0900 144) menu "DOS/FAT/EXFAT/NT Filesystems"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 145)
1c6ace019bce5 (Alexey Dobriyan 2009-01-22 10:37:59 +0300 146) source "fs/fat/Kconfig"
b9d1e2e6265f5 (Namjae Jeon 2020-03-02 15:21:42 +0900 147) source "fs/exfat/Kconfig"
9d73ac9e8faff (Alexey Dobriyan 2009-01-22 10:39:20 +0300 148) source "fs/ntfs/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 149)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 150) endmenu
25fad945a7f7f (Randy Dunlap 2008-02-07 00:15:16 -0800 151) endif # BLOCK
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 152)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 153) menu "Pseudo filesystems"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 154)
6eedf8d30d2b4 (Alexey Dobriyan 2008-07-25 01:48:30 -0700 155) source "fs/proc/Kconfig"
ba341d55a420a (Tejun Heo 2014-02-03 14:09:17 -0500 156) source "fs/kernfs/Kconfig"
5f3a211a8b022 (Alexey Dobriyan 2009-01-22 10:40:58 +0300 157) source "fs/sysfs/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 158)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 159) config TMPFS
f5fc870da2f87 (Robert P. J. Day 2011-10-31 17:07:21 -0700 160) bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79ad9626 (Hugh Dickins 2009-09-21 17:03:37 -0700 161) depends on SHMEM
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 162) help
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 163) Tmpfs is a file system which keeps all files in virtual memory.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 164)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 165) Everything in tmpfs is temporary in the sense that no files will be
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 166) created on your hard drive. The files live in memory and swap
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 167) space. If you unmount a tmpfs instance, everything stored therein is
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 168) lost.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 169)
0c1bc6b84525b (Mauro Carvalho Chehab 2020-04-14 18:48:37 +0200 170) See <file:Documentation/filesystems/tmpfs.rst> for details.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 171)
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 172) config TMPFS_POSIX_ACL
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 173) bool "Tmpfs POSIX Access Control Lists"
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 174) depends on TMPFS
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 175) select TMPFS_XATTR
feda821e76f3b (Christoph Hellwig 2013-12-20 05:16:54 -0800 176) select FS_POSIX_ACL
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 177) help
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 178) POSIX Access Control Lists (ACLs) support additional access rights
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 179) for users and groups beyond the standard owner/group/world scheme,
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 180) and this option selects support for ACLs specifically for tmpfs
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 181) filesystems.
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 182)
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 183) If you've selected TMPFS, it's possible that you'll also need
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 184) this option as there are a number of Linux distros that require
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 185) POSIX ACL support under /dev for certain features to work properly.
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 186) For example, some distros need this feature for ALSA-related /dev
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 187) files for sound to work properly. In short, if you're not sure,
206506ccf04b6 (Robert P. J. Day 2011-08-03 16:21:29 -0700 188) say Y.
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 189)
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 190) config TMPFS_XATTR
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 191) bool "Tmpfs extended attributes"
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 192) depends on TMPFS
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 193) default n
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 194) help
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 195) Extended attributes are name:value pairs associated with inodes by
91581e4c60db3 (Adam Borowski 2017-12-20 14:58:52 +0100 196) the kernel or by users (see the attr(5) manual page for details).
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 197)
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 198) Currently this enables support for the trusted.* and
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 199) security.* namespaces.
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 200)
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 201) You need this for POSIX ACL support on tmpfs.
b09e0fa4b4ea6 (Eric Paris 2011-05-24 17:12:39 -0700 202)
4db70f73e5696 (Eric Paris 2011-05-25 19:49:18 -0700 203) If unsure, say N.
39f0247d3823e (Andreas Gruenbacher 2006-09-29 02:01:35 -0700 204)
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 205) config TMPFS_INODE64
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 206) bool "Use 64-bit ino_t by default in tmpfs"
d0ed78e1780eb (Heiko Carstens 2021-03-01 21:02:49 +0100 207) depends on TMPFS && 64BIT
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 208) default n
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 209) help
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 210) tmpfs has historically used only inode numbers as wide as an unsigned
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 211) int. In some cases this can cause wraparound, potentially resulting
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 212) in multiple files with the same inode number on a single device. This
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 213) option makes tmpfs use the full width of ino_t by default, without
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 214) needing to specify the inode64 option when mounting.
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 215)
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 216) But if a long-lived tmpfs is to be accessed by 32-bit applications so
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 217) ancient that opening a file larger than 2GiB fails with EINVAL, then
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 218) the INODE64 config option and inode64 mount option risk operations
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 219) failing with EOVERFLOW once 33-bit inode numbers are reached.
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 220)
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 221) To override this configured default, use the inode32 or inode64
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 222) option when mounting.
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 223)
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 224) If unsure, say N.
ea3271f7196c6 (Chris Down 2020-08-06 23:20:25 -0700 225)
855f9a8e87fe3 (Anshuman Khandual 2021-05-04 18:38:13 -0700 226) config ARCH_SUPPORTS_HUGETLBFS
855f9a8e87fe3 (Anshuman Khandual 2021-05-04 18:38:13 -0700 227) def_bool n
855f9a8e87fe3 (Anshuman Khandual 2021-05-04 18:38:13 -0700 228)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 229) config HUGETLBFS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 230) bool "HugeTLB file system support"
5a1eb5c445320 (Benjamin Herrenschmidt 2009-10-30 15:03:54 +1100 231) depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
855f9a8e87fe3 (Anshuman Khandual 2021-05-04 18:38:13 -0700 232) ARCH_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a55e18 (Arthur Othieno 2006-04-18 22:20:57 -0700 233) help
dda27d1a55e18 (Arthur Othieno 2006-04-18 22:20:57 -0700 234) hugetlbfs is a filesystem backing for HugeTLB pages, based on
dda27d1a55e18 (Arthur Othieno 2006-04-18 22:20:57 -0700 235) ramfs. For architectures that support it, say Y here and read
1ad1335dc5864 (Mike Rapoport 2018-04-18 11:07:49 +0300 236) <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
dda27d1a55e18 (Arthur Othieno 2006-04-18 22:20:57 -0700 237)
dda27d1a55e18 (Arthur Othieno 2006-04-18 22:20:57 -0700 238) If unsure, say N.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 239)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 240) config HUGETLB_PAGE
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 241) def_bool HUGETLBFS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 242)
5d752600a8c37 (Mike Kravetz 2018-06-07 17:06:01 -0700 243) config MEMFD_CREATE
5d752600a8c37 (Mike Kravetz 2018-06-07 17:06:01 -0700 244) def_bool TMPFS || HUGETLBFS
5d752600a8c37 (Mike Kravetz 2018-06-07 17:06:01 -0700 245)
461a7184320a1 (Yisheng Xie 2016-10-07 17:01:46 -0700 246) config ARCH_HAS_GIGANTIC_PAGE
461a7184320a1 (Yisheng Xie 2016-10-07 17:01:46 -0700 247) bool
461a7184320a1 (Yisheng Xie 2016-10-07 17:01:46 -0700 248)
4591dabe27ec0 (Alexey Dobriyan 2009-01-22 10:42:52 +0300 249) source "fs/configfs/Kconfig"
62c204ddfe964 (Leif Lindholm 2014-12-18 17:50:49 +0000 250) source "fs/efivarfs/Kconfig"
7063fbf226119 (Joel Becker 2005-12-15 14:29:43 -0800 251)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 252) endmenu
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 253)
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 254) menuconfig MISC_FILESYSTEMS
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 255) bool "Miscellaneous filesystems"
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 256) default y
a7f7f6248d974 (Masahiro Yamada 2020-06-14 01:50:22 +0900 257) help
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 258) Say Y here to get to see options for various miscellaneous
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 259) filesystems, such as filesystems that came from other
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 260) operating systems.
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 261)
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 262) This option alone does not add any kernel code.
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 263)
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 264) If you say N, all options in this submenu will be skipped and
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 265) disabled; if unsure, say Y here.
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 266)
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 267) if MISC_FILESYSTEMS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 268)
07f01962e3d37 (Mike Marshall 2015-07-17 10:38:17 -0400 269) source "fs/orangefs/Kconfig"
bc2de2ae67177 (Alexey Dobriyan 2009-01-22 10:48:46 +0300 270) source "fs/adfs/Kconfig"
10951bf05d952 (Alexey Dobriyan 2009-01-22 10:49:44 +0300 271) source "fs/affs/Kconfig"
295c896cb95de (Alexey Dobriyan 2009-01-22 10:50:50 +0300 272) source "fs/ecryptfs/Kconfig"
b08bac1f185b2 (Alexey Dobriyan 2009-01-22 10:53:24 +0300 273) source "fs/hfs/Kconfig"
b08bac1f185b2 (Alexey Dobriyan 2009-01-22 10:53:24 +0300 274) source "fs/hfsplus/Kconfig"
0b09eb32985d5 (Alexey Dobriyan 2009-01-22 10:54:16 +0300 275) source "fs/befs/Kconfig"
0ff423849de3f (Alexey Dobriyan 2009-01-22 10:55:13 +0300 276) source "fs/bfs/Kconfig"
571f0a0bdeeb2 (Alexey Dobriyan 2009-01-22 10:56:07 +0300 277) source "fs/efs/Kconfig"
31db6e9ea1dbd (Alexey Dobriyan 2008-08-29 07:19:50 +0400 278) source "fs/jffs2/Kconfig"
0d7eff873caae (Artem Bityutskiy 2008-07-14 19:08:38 +0300 279) # UBIFS File system configuration
0d7eff873caae (Artem Bityutskiy 2008-07-14 19:08:38 +0300 280) source "fs/ubifs/Kconfig"
2a22783be0fbb (Alexey Dobriyan 2009-01-22 10:56:54 +0300 281) source "fs/cramfs/Kconfig"
22635ec9e0cb5 (Alexey Dobriyan 2009-01-22 10:57:46 +0300 282) source "fs/squashfs/Kconfig"
22135169ddc53 (Alexey Dobriyan 2009-01-22 10:58:51 +0300 283) source "fs/freevxfs/Kconfig"
8b1cd7d3c5daa (Alexey Dobriyan 2009-01-22 10:59:49 +0300 284) source "fs/minix/Kconfig"
da55e6f92830d (Alexey Dobriyan 2009-01-22 11:00:41 +0300 285) source "fs/omfs/Kconfig"
928ea192959f1 (Alexey Dobriyan 2009-01-22 11:01:26 +0300 286) source "fs/hpfs/Kconfig"
4c7415830c7ab (Alexey Dobriyan 2009-01-22 11:02:21 +0300 287) source "fs/qnx4/Kconfig"
5d026c7242201 (Kai Bankett 2012-02-17 05:59:20 +0100 288) source "fs/qnx6/Kconfig"
41810246df2e6 (Alexey Dobriyan 2009-01-22 11:03:34 +0300 289) source "fs/romfs/Kconfig"
ca01d6dd2d7a2 (Tony Luck 2010-12-28 14:25:21 -0800 290) source "fs/pstore/Kconfig"
8af915ba1d1ea (Alexey Dobriyan 2009-01-22 11:04:23 +0300 291) source "fs/sysv/Kconfig"
a276a52f9f1b1 (Alexey Dobriyan 2009-01-22 11:05:02 +0300 292) source "fs/ufs/Kconfig"
47e4937a4a7ca (Gao Xiang 2019-08-23 05:36:59 +0800 293) source "fs/erofs/Kconfig"
0fd1695766484 (Hans de Goede 2019-12-12 15:09:14 +0100 294) source "fs/vboxsf/Kconfig"
0c4fb877641c5 (Ryusuke Konishi 2009-04-06 19:01:41 -0700 295)
67ec7d3ab779a (Randy Dunlap 2009-01-06 14:40:57 -0800 296) endif # MISC_FILESYSTEMS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 297)
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 298) menuconfig NETWORK_FILESYSTEMS
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 299) bool "Network File Systems"
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 300) default y
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 301) depends on NET
a7f7f6248d974 (Masahiro Yamada 2020-06-14 01:50:22 +0900 302) help
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 303) Say Y here to get to see options for network filesystems and
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 304) filesystem-related networking code, such as NFS daemon and
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 305) RPCSEC security modules.
6fb1bc10303c0 (Chuck Lever 2008-05-21 17:09:04 -0400 306)
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 307) This option alone does not add any kernel code.
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 308)
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 309) If you say N, all options in this submenu will be skipped and
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 310) disabled; if unsure, say Y here.
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 311)
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 312) if NETWORK_FILESYSTEMS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 313)
97afe47ac3786 (Alexey Dobriyan 2009-01-22 11:07:41 +0300 314) source "fs/nfs/Kconfig"
e2b329e200268 (Alexey Dobriyan 2009-01-22 11:08:58 +0300 315) source "fs/nfsd/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 316)
f7790029655f7 (Jeff Layton 2014-09-12 16:40:20 -0400 317) config GRACE_PERIOD
f7790029655f7 (Jeff Layton 2014-09-12 16:40:20 -0400 318) tristate
f7790029655f7 (Jeff Layton 2014-09-12 16:40:20 -0400 319)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 320) config LOCKD
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 321) tristate
dd4dc82d4c129 (Randy Dunlap 2009-05-12 13:28:09 -0700 322) depends on FILE_LOCKING
f7790029655f7 (Jeff Layton 2014-09-12 16:40:20 -0400 323) select GRACE_PERIOD
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 324)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 325) config LOCKD_V4
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 326) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 327) depends on NFSD_V3 || NFS_V3
dd4dc82d4c129 (Randy Dunlap 2009-05-12 13:28:09 -0700 328) depends on FILE_LOCKING
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 329) default y
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 330)
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 331) config NFS_ACL_SUPPORT
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 332) tristate
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 333) select FS_POSIX_ACL
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 334)
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 335) config NFS_COMMON
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 336) bool
f7790029655f7 (Jeff Layton 2014-09-12 16:40:20 -0400 337) depends on NFSD || NFS_FS || LOCKD
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 338) default y
a257cdd0e2179 (Andreas Gruenbacher 2005-06-22 17:16:26 +0000 339)
02591f9febd5f (Dai Ngo 2021-01-28 01:42:26 -0500 340) config NFS_V4_2_SSC_HELPER
d9092b4bb2109 (Dai Ngo 2021-04-22 03:37:49 -0400 341) bool
d9092b4bb2109 (Dai Ngo 2021-04-22 03:37:49 -0400 342) default y if NFS_V4_2
02591f9febd5f (Dai Ngo 2021-01-28 01:42:26 -0500 343)
9098c24f35f7d (Alexey Dobriyan 2009-01-22 11:11:56 +0300 344) source "net/sunrpc/Kconfig"
9030aaf9bf0a1 (Sage Weil 2009-10-06 11:31:15 -0700 345) source "fs/ceph/Kconfig"
bb26b963d8343 (Alexey Dobriyan 2008-10-18 20:28:49 -0700 346) source "fs/cifs/Kconfig"
33a1a6fedf08b (Alexey Dobriyan 2009-01-22 11:15:06 +0300 347) source "fs/coda/Kconfig"
b2480c7fbfed1 (Alexey Dobriyan 2009-01-22 11:16:02 +0300 348) source "fs/afs/Kconfig"
0fcb44088970b (Alexey Dobriyan 2009-01-22 11:16:42 +0300 349) source "fs/9p/Kconfig"
93fa58cb83133 (Eric Van Hensbergen 2005-09-09 13:04:18 -0700 350)
ea0985ad7914d (Jan Engelhardt 2007-10-16 23:30:16 -0700 351) endif # NETWORK_FILESYSTEMS
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 352)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 353) source "fs/nls/Kconfig"
e7fd41792fc0e (David Teigland 2006-01-18 09:30:29 +0000 354) source "fs/dlm/Kconfig"
955405d1174ee (Gabriel Krisman Bertazi 2019-04-25 13:38:44 -0400 355) source "fs/unicode/Kconfig"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 356)
771b53d033e86 (Jens Axboe 2019-10-22 10:25:58 -0600 357) config IO_WQ
771b53d033e86 (Jens Axboe 2019-10-22 10:25:58 -0600 358) bool
771b53d033e86 (Jens Axboe 2019-10-22 10:25:58 -0600 359)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 360) endmenu