Blame view

fs/Kconfig 8.55 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
5
6
  #
  # File system configuration
  #
  
  menu "File systems"
bfcfaa77b   Linus Torvalds   vfs: use 'unsigne...
7
8
9
  # Use unaligned word dcache accesses
  config DCACHE_WORD_ACCESS
         bool
31d921c7f   David Howells   vfs: Add configur...
10
11
  config VALIDATE_FS_PARSER
  	bool "Validate filesystem parameter description"
31d921c7f   David Howells   vfs: Add configur...
12
13
14
  	help
  	  Enable this to perform validation of the parameter description for a
  	  filesystem when it is registered.
9361401eb   David Howells   [PATCH] BLOCK: Ma...
15
  if BLOCK
ae259a9c8   Christoph Hellwig   fs: introduce iom...
16
17
  config FS_IOMAP
  	bool
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
18
  source "fs/ext2/Kconfig"
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
19
  source "fs/ext4/Kconfig"
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
20
  source "fs/jbd2/Kconfig"
dab291af8   Mingming Cao   [PATCH] jbd2: ena...
21

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
22
  config FS_MBCACHE
02ea2104c   Mingming Cao   [PATCH] ext4: ena...
23
  # Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
24
  	tristate
2c512397c   Adrian Bunk   [patch 1/3] FS_MB...
25
  	default y if EXT2_FS=y && EXT2_FS_XATTR
939da1084   Tao Ma   ext4: Remove CONF...
26
  	default y if EXT4_FS=y
c290ea01a   Jan Kara   fs: Remove ext3 f...
27
  	default m if EXT2_FS_XATTR || EXT4_FS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28

b16ecfe2f   Alexey Dobriyan   fs/Kconfig: move ...
29
  source "fs/reiserfs/Kconfig"
f5c77969b   Alexey Dobriyan   fs/Kconfig: move ...
30
  source "fs/jfs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
31

69050eee8   Tomas Szepe   CONFIG_FILE_LOCKI...
32
33
34
35
  source "fs/xfs/Kconfig"
  source "fs/gfs2/Kconfig"
  source "fs/ocfs2/Kconfig"
  source "fs/btrfs/Kconfig"
41f4db0f4   Ryusuke Konishi   fs/Kconfig: move ...
36
  source "fs/nilfs2/Kconfig"
d7196c5a3   Jaegeuk Kim   f2fs: relocate Kc...
37
  source "fs/f2fs/Kconfig"
8dcc1a9d9   Damien Le Moal   fs: New zonefs fi...
38
  source "fs/zonefs/Kconfig"
69050eee8   Tomas Szepe   CONFIG_FILE_LOCKI...
39

6cd176a51   Matthew Wilcox   vfs,ext2: remove ...
40
41
42
  config FS_DAX
  	bool "Direct Access (DAX) support"
  	depends on MMU
d92576f11   Matthew Wilcox   dax: does not wor...
43
  	depends on !(ARM || MIPS || SPARC)
e76384884   Dan Williams   mm: introduce MEM...
44
  	select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED)
6affb9d7b   Ross Zwisler   dax: fix build wa...
45
  	select FS_IOMAP
ef5104247   Dan Williams   block, dax: move ...
46
  	select DAX
6cd176a51   Matthew Wilcox   vfs,ext2: remove ...
47
48
49
50
51
52
53
54
55
56
  	help
  	  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; you will need to
  	  mount the filesystem using the -o dax option.
  
  	  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.
ee82c9ed4   Dan Williams   dax: disable pmd ...
57
58
59
60
  config FS_DAX_PMD
  	bool
  	default FS_DAX
  	depends on FS_DAX
c046c321c   Dan Williams   dax: re-enable da...
61
62
  	depends on ZONE_DEVICE
  	depends on TRANSPARENT_HUGEPAGE
ee82c9ed4   Dan Williams   dax: disable pmd ...
63

569d0365f   Dan Williams   dax: require 'str...
64
65
66
67
68
69
  # Selected by DAX drivers that do not expect filesystem DAX to support
  # get_user_pages() of DAX mappings. I.e. "limited" indicates no support
  # for fork() of processes with MAP_SHARED mappings or support for
  # direct-I/O to a DAX mapping.
  config FS_DAX_LIMITED
  	bool
69050eee8   Tomas Szepe   CONFIG_FILE_LOCKI...
70
  endif # BLOCK
16ebe911e   Randy Dunlap   fs: FS_POSIX_ACL ...
71
72
73
74
75
76
77
  # Posix ACL utility routines
  #
  # Note: Posix ACLs can be implemented without these helpers.  Never use
  # this symbol for ifdefs in core code.
  #
  config FS_POSIX_ACL
  	def_bool n
4199ca77c   Randy Dunlap   fs: move exportfs...
78
  config EXPORTFS
79fead47c   Jonas Gorski   exportfs: reallow...
79
  	tristate
4199ca77c   Randy Dunlap   fs: move exportfs...
80

15d66ac20   Benjamin Coddington   xfs: abstract blo...
81
82
83
84
85
  config EXPORTFS_BLOCK_OPS
  	bool "Enable filesystem export operations for block IO"
  	help
  	  This option enables the export operations for a filesystem to support
  	  external block IO.
bfcd17a6c   Thomas Petazzoni   Configure out fil...
86
  config FILE_LOCKING
6a108a14f   David Rientjes   kconfig: rename C...
87
  	bool "Enable POSIX file locking API" if EXPERT
bfcd17a6c   Thomas Petazzoni   Configure out fil...
88
89
90
91
92
  	default y
  	help
  	  This option enables standard file locking support, required
            for filesystems like NFS and for the flock() system
            call. Disabling this option saves about 11k.
9e8925b67   Jeff Layton   locks: Allow disa...
93
94
95
96
97
98
99
100
101
  config MANDATORY_FILE_LOCKING
  	bool "Enable Mandatory file locking"
  	depends on FILE_LOCKING
  	default y
  	help
  	  This option enables files appropriately marked files on appropriely
  	  mounted filesystems to support mandatory locking.
  
  	  To the best of my knowledge this is dead code that no one cares about.
0b81d0779   Jaegeuk Kim   fs crypto: move p...
102
  source "fs/crypto/Kconfig"
671e67b47   Eric Biggers   fs-verity: add Kc...
103
  source "fs/verity/Kconfig"
272eb0148   Eric Paris   filesystem notifi...
104
  source "fs/notify/Kconfig"
0eeca2830   Robert Love   [PATCH] inotify
105

884d179df   Jan Kara   quota: Move quota...
106
  source "fs/quota/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
107

2a3ae0a12   Ian Kent   autofs: create au...
108
  source "fs/autofs/Kconfig"
3ef7784e4   Alexey Dobriyan   fs/Kconfig: move ...
109
  source "fs/fuse/Kconfig"
e9be9d5e7   Miklos Szeredi   overlay filesystem
110
  source "fs/overlayfs/Kconfig"
c6819dd77   Eugene Zemtsov   ANDROID: Initial ...
111
  source "fs/incfs/Kconfig"
04578f174   Miklos Szeredi   [PATCH] FUSE - MA...
112

06b3db1b9   David Howells   FS-Cache: Add mai...
113
114
115
  menu "Caches"
  
  source "fs/fscache/Kconfig"
9ae326a69   David Howells   CacheFiles: A cac...
116
  source "fs/cachefiles/Kconfig"
06b3db1b9   David Howells   FS-Cache: Add mai...
117
118
  
  endmenu
9361401eb   David Howells   [PATCH] BLOCK: Ma...
119
  if BLOCK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
120
  menu "CD-ROM/DVD Filesystems"
ddfaccd99   Alexey Dobriyan   fs/Kconfig: move ...
121
122
  source "fs/isofs/Kconfig"
  source "fs/udf/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
123
124
  
  endmenu
25fad945a   Randy Dunlap   fs menu: small reorg
125
  endif # BLOCK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
126

9361401eb   David Howells   [PATCH] BLOCK: Ma...
127
  if BLOCK
b9d1e2e62   Namjae Jeon   exfat: add Kconfi...
128
  menu "DOS/FAT/EXFAT/NT Filesystems"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
129

1c6ace019   Alexey Dobriyan   fs/Kconfig: move ...
130
  source "fs/fat/Kconfig"
b9d1e2e62   Namjae Jeon   exfat: add Kconfi...
131
  source "fs/exfat/Kconfig"
9d73ac9e8   Alexey Dobriyan   fs/Kconfig: move ...
132
  source "fs/ntfs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
133
134
  
  endmenu
25fad945a   Randy Dunlap   fs menu: small reorg
135
  endif # BLOCK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
136
137
  
  menu "Pseudo filesystems"
6eedf8d30   Alexey Dobriyan   proc: move Kconfi...
138
  source "fs/proc/Kconfig"
ba341d55a   Tejun Heo   kernfs: add CONFI...
139
  source "fs/kernfs/Kconfig"
5f3a211a8   Alexey Dobriyan   fs/Kconfig: move ...
140
  source "fs/sysfs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
141

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
142
  config TMPFS
f5fc870da   Robert P. J. Day   tmpfs: add "tmpfs...
143
  	bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79ad   Hugh Dickins   tmpfs: depend on ...
144
  	depends on SHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
145
146
147
148
149
150
151
  	help
  	  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.
0c1bc6b84   Mauro Carvalho Chehab   docs: filesystems...
152
  	  See <file:Documentation/filesystems/tmpfs.rst> for details.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
153

4db70f73e   Eric Paris   tmpfs: fix XATTR ...
154
155
156
157
  config TMPFS_POSIX_ACL
  	bool "Tmpfs POSIX Access Control Lists"
  	depends on TMPFS
  	select TMPFS_XATTR
feda821e7   Christoph Hellwig   fs: remove generi...
158
  	select FS_POSIX_ACL
4db70f73e   Eric Paris   tmpfs: fix XATTR ...
159
  	help
206506ccf   Robert P. J. Day   tmpfs: expand "he...
160
161
162
163
164
165
166
167
168
169
170
  	  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.
4db70f73e   Eric Paris   tmpfs: fix XATTR ...
171

b09e0fa4b   Eric Paris   tmpfs: implement ...
172
173
174
175
176
177
  config TMPFS_XATTR
  	bool "Tmpfs extended attributes"
  	depends on TMPFS
  	default n
  	help
  	  Extended attributes are name:value pairs associated with inodes by
91581e4c6   Adam Borowski   fs/*/Kconfig: dro...
178
  	  the kernel or by users (see the attr(5) manual page for details).
b09e0fa4b   Eric Paris   tmpfs: implement ...
179
180
181
  
  	  Currently this enables support for the trusted.* and
  	  security.* namespaces.
b09e0fa4b   Eric Paris   tmpfs: implement ...
182
  	  You need this for POSIX ACL support on tmpfs.
4db70f73e   Eric Paris   tmpfs: fix XATTR ...
183
  	  If unsure, say N.
39f0247d3   Andreas Gruenbacher   [PATCH] Access Co...
184

ea3271f71   Chris Down   tmpfs: support 64...
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
  config TMPFS_INODE64
  	bool "Use 64-bit ino_t by default in tmpfs"
  	depends on TMPFS && 64BIT
  	default n
  	help
  	  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.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
205
206
  config HUGETLBFS
  	bool "HugeTLB file system support"
5a1eb5c44   Benjamin Herrenschmidt   powerpc: Cleanup ...
207
  	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
208
  		   SYS_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a5   Arthur Othieno   [PATCH] hugetlbfs...
209
210
211
  	help
  	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
  	  ramfs. For architectures that support it, say Y here and read
1ad1335dc   Mike Rapoport   docs/admin-guide/...
212
  	  <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
dda27d1a5   Arthur Othieno   [PATCH] hugetlbfs...
213
214
  
  	  If unsure, say N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
215
216
217
  
  config HUGETLB_PAGE
  	def_bool HUGETLBFS
5d752600a   Mike Kravetz   mm: restructure m...
218
219
  config MEMFD_CREATE
  	def_bool TMPFS || HUGETLBFS
461a71843   Yisheng Xie   mm/hugetlb: intro...
220
221
  config ARCH_HAS_GIGANTIC_PAGE
  	bool
4591dabe2   Alexey Dobriyan   fs/Kconfig: move ...
222
  source "fs/configfs/Kconfig"
62c204ddf   Leif Lindholm   fs: Make efivarfs...
223
  source "fs/efivarfs/Kconfig"
7063fbf22   Joel Becker   [PATCH] configfs:...
224

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
225
  endmenu
67ec7d3ab   Randy Dunlap   fs: use menuconfi...
226
227
228
  menuconfig MISC_FILESYSTEMS
  	bool "Miscellaneous filesystems"
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
229
  	help
67ec7d3ab   Randy Dunlap   fs: use menuconfi...
230
231
232
233
234
235
236
237
238
239
  	  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
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
240

07f01962e   Mike Marshall   Orangefs: kernel ...
241
  source "fs/orangefs/Kconfig"
bc2de2ae6   Alexey Dobriyan   fs/Kconfig: move ...
242
  source "fs/adfs/Kconfig"
10951bf05   Alexey Dobriyan   fs/Kconfig: move ...
243
  source "fs/affs/Kconfig"
295c896cb   Alexey Dobriyan   fs/Kconfig: move ...
244
  source "fs/ecryptfs/Kconfig"
b08bac1f1   Alexey Dobriyan   fs/Kconfig: move ...
245
246
  source "fs/hfs/Kconfig"
  source "fs/hfsplus/Kconfig"
0b09eb329   Alexey Dobriyan   fs/Kconfig: move ...
247
  source "fs/befs/Kconfig"
0ff423849   Alexey Dobriyan   fs/Kconfig: move ...
248
  source "fs/bfs/Kconfig"
571f0a0bd   Alexey Dobriyan   fs/Kconfig: move ...
249
  source "fs/efs/Kconfig"
31db6e9ea   Alexey Dobriyan   [JFFS2] Move JFFS...
250
  source "fs/jffs2/Kconfig"
0d7eff873   Artem Bityutskiy   UBIFS: include to...
251
252
  # UBIFS File system configuration
  source "fs/ubifs/Kconfig"
2a22783be   Alexey Dobriyan   fs/Kconfig: move ...
253
  source "fs/cramfs/Kconfig"
22635ec9e   Alexey Dobriyan   fs/Kconfig: move ...
254
  source "fs/squashfs/Kconfig"
22135169d   Alexey Dobriyan   fs/Kconfig: move ...
255
  source "fs/freevxfs/Kconfig"
8b1cd7d3c   Alexey Dobriyan   fs/Kconfig: move ...
256
  source "fs/minix/Kconfig"
da55e6f92   Alexey Dobriyan   fs/Kconfig: move ...
257
  source "fs/omfs/Kconfig"
928ea1929   Alexey Dobriyan   fs/Kconfig: move ...
258
  source "fs/hpfs/Kconfig"
4c7415830   Alexey Dobriyan   fs/Kconfig: move ...
259
  source "fs/qnx4/Kconfig"
5d026c724   Kai Bankett   fs: initial qnx6f...
260
  source "fs/qnx6/Kconfig"
41810246d   Alexey Dobriyan   fs/Kconfig: move ...
261
  source "fs/romfs/Kconfig"
ca01d6dd2   Tony Luck   pstore: new files...
262
  source "fs/pstore/Kconfig"
8af915ba1   Alexey Dobriyan   fs/Kconfig: move ...
263
  source "fs/sysv/Kconfig"
a276a52f9   Alexey Dobriyan   fs/Kconfig: move ...
264
  source "fs/ufs/Kconfig"
47e4937a4   Gao Xiang   erofs: move erofs...
265
  source "fs/erofs/Kconfig"
0fd169576   Hans de Goede   fs: Add VirtualBo...
266
  source "fs/vboxsf/Kconfig"
0c4fb8776   Ryusuke Konishi   nilfs2: update ma...
267

67ec7d3ab   Randy Dunlap   fs: use menuconfi...
268
  endif # MISC_FILESYSTEMS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
269

ea0985ad7   Jan Engelhardt   menuconfig: trans...
270
271
272
  menuconfig NETWORK_FILESYSTEMS
  	bool "Network File Systems"
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
273
  	depends on NET
a7f7f6248   Masahiro Yamada   treewide: replace...
274
  	help
ea0985ad7   Jan Engelhardt   menuconfig: trans...
275
276
277
  	  Say Y here to get to see options for network filesystems and
  	  filesystem-related networking code, such as NFS daemon and
  	  RPCSEC security modules.
6fb1bc103   Chuck Lever   NFS: Update help ...
278

ea0985ad7   Jan Engelhardt   menuconfig: trans...
279
280
281
282
283
284
  	  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 NETWORK_FILESYSTEMS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
285

97afe47ac   Alexey Dobriyan   fs/Kconfig: move ...
286
  source "fs/nfs/Kconfig"
e2b329e20   Alexey Dobriyan   fs/Kconfig: move ...
287
  source "fs/nfsd/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
288

f77900296   Jeff Layton   lockd: move lockd...
289
290
  config GRACE_PERIOD
  	tristate
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
291
292
  config LOCKD
  	tristate
dd4dc82d4   Randy Dunlap   lockd: fix FILE_L...
293
  	depends on FILE_LOCKING
f77900296   Jeff Layton   lockd: move lockd...
294
  	select GRACE_PERIOD
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
295
296
297
298
  
  config LOCKD_V4
  	bool
  	depends on NFSD_V3 || NFS_V3
dd4dc82d4   Randy Dunlap   lockd: fix FILE_L...
299
  	depends on FILE_LOCKING
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
300
  	default y
a257cdd0e   Andreas Gruenbacher   [PATCH] NFSD: Add...
301
302
303
304
305
306
  config NFS_ACL_SUPPORT
  	tristate
  	select FS_POSIX_ACL
  
  config NFS_COMMON
  	bool
f77900296   Jeff Layton   lockd: move lockd...
307
  	depends on NFSD || NFS_FS || LOCKD
a257cdd0e   Andreas Gruenbacher   [PATCH] NFSD: Add...
308
  	default y
9098c24f3   Alexey Dobriyan   fs/Kconfig: move ...
309
  source "net/sunrpc/Kconfig"
9030aaf9b   Sage Weil   ceph: Kconfig, Ma...
310
  source "fs/ceph/Kconfig"
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
311
  source "fs/cifs/Kconfig"
33a1a6fed   Alexey Dobriyan   fs/Kconfig: move ...
312
  source "fs/coda/Kconfig"
b2480c7fb   Alexey Dobriyan   fs/Kconfig: move ...
313
  source "fs/afs/Kconfig"
0fcb44088   Alexey Dobriyan   fs/Kconfig: move ...
314
  source "fs/9p/Kconfig"
93fa58cb8   Eric Van Hensbergen   [PATCH] v9fs: Doc...
315

ea0985ad7   Jan Engelhardt   menuconfig: trans...
316
  endif # NETWORK_FILESYSTEMS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
317

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
318
  source "fs/nls/Kconfig"
e7fd41792   David Teigland   [DLM] The core of...
319
  source "fs/dlm/Kconfig"
955405d11   Gabriel Krisman Bertazi   unicode: introduc...
320
  source "fs/unicode/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
321

771b53d03   Jens Axboe   io-wq: small thre...
322
323
  config IO_WQ
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
324
  endmenu