]> git.ipfire.org Git - people/ms/linux.git/blame - fs/Kconfig
brd: rename XIP to DAX
[people/ms/linux.git] / fs / Kconfig
CommitLineData
1da177e4
LT
1#
2# File system configuration
3#
4
5menu "File systems"
6
bfcfaa77
LT
7# Use unaligned word dcache accesses
8config DCACHE_WORD_ACCESS
9 bool
10
9361401e
DH
11if BLOCK
12
6da0b38f
AD
13source "fs/ext2/Kconfig"
14source "fs/ext3/Kconfig"
15source "fs/ext4/Kconfig"
6da0b38f
AD
16source "fs/jbd/Kconfig"
17source "fs/jbd2/Kconfig"
dab291af 18
1da177e4 19config FS_MBCACHE
02ea2104 20# Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4 21 tristate
2c512397
AB
22 default y if EXT2_FS=y && EXT2_FS_XATTR
23 default y if EXT3_FS=y && EXT3_FS_XATTR
939da108
TM
24 default y if EXT4_FS=y
25 default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
1da177e4 26
b16ecfe2 27source "fs/reiserfs/Kconfig"
f5c77969 28source "fs/jfs/Kconfig"
1da177e4 29
69050eee
TS
30source "fs/xfs/Kconfig"
31source "fs/gfs2/Kconfig"
32source "fs/ocfs2/Kconfig"
33source "fs/btrfs/Kconfig"
41f4db0f 34source "fs/nilfs2/Kconfig"
69050eee 35
6cd176a5
MW
36config FS_DAX
37 bool "Direct Access (DAX) support"
38 depends on MMU
39 help
40 Direct Access (DAX) can be used on memory-backed block devices.
41 If the block device supports DAX and the filesystem supports DAX,
42 then you can avoid using the pagecache to buffer I/Os. Turning
43 on this option will compile in support for DAX; you will need to
44 mount the filesystem using the -o dax option.
45
46 If you do not have a block device that is capable of using this,
47 or if unsure, say N. Saying Y will increase the size of the kernel
48 by about 5kB.
49
69050eee
TS
50endif # BLOCK
51
16ebe911
RD
52# Posix ACL utility routines
53#
54# Note: Posix ACLs can be implemented without these helpers. Never use
55# this symbol for ifdefs in core code.
56#
57config FS_POSIX_ACL
58 def_bool n
59
4199ca77 60config EXPORTFS
79fead47 61 tristate
4199ca77 62
bfcd17a6 63config FILE_LOCKING
6a108a14 64 bool "Enable POSIX file locking API" if EXPERT
bfcd17a6
TP
65 default y
66 help
67 This option enables standard file locking support, required
68 for filesystems like NFS and for the flock() system
69 call. Disabling this option saves about 11k.
70
272eb014 71source "fs/notify/Kconfig"
0eeca283 72
884d179d 73source "fs/quota/Kconfig"
1da177e4 74
90ffd467 75source "fs/autofs4/Kconfig"
3ef7784e 76source "fs/fuse/Kconfig"
e9be9d5e 77source "fs/overlayfs/Kconfig"
04578f17 78
06b3db1b
DH
79menu "Caches"
80
81source "fs/fscache/Kconfig"
9ae326a6 82source "fs/cachefiles/Kconfig"
06b3db1b
DH
83
84endmenu
85
9361401e 86if BLOCK
1da177e4
LT
87menu "CD-ROM/DVD Filesystems"
88
ddfaccd9
AD
89source "fs/isofs/Kconfig"
90source "fs/udf/Kconfig"
1da177e4
LT
91
92endmenu
25fad945 93endif # BLOCK
1da177e4 94
9361401e 95if BLOCK
1da177e4
LT
96menu "DOS/FAT/NT Filesystems"
97
1c6ace01 98source "fs/fat/Kconfig"
9d73ac9e 99source "fs/ntfs/Kconfig"
1da177e4
LT
100
101endmenu
25fad945 102endif # BLOCK
1da177e4
LT
103
104menu "Pseudo filesystems"
105
6eedf8d3 106source "fs/proc/Kconfig"
ba341d55 107source "fs/kernfs/Kconfig"
5f3a211a 108source "fs/sysfs/Kconfig"
1da177e4 109
1da177e4 110config TMPFS
f5fc870d 111 bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79a 112 depends on SHMEM
1da177e4
LT
113 help
114 Tmpfs is a file system which keeps all files in virtual memory.
115
116 Everything in tmpfs is temporary in the sense that no files will be
117 created on your hard drive. The files live in memory and swap
118 space. If you unmount a tmpfs instance, everything stored therein is
119 lost.
120
121 See <file:Documentation/filesystems/tmpfs.txt> for details.
122
4db70f73
EP
123config TMPFS_POSIX_ACL
124 bool "Tmpfs POSIX Access Control Lists"
125 depends on TMPFS
126 select TMPFS_XATTR
feda821e 127 select FS_POSIX_ACL
4db70f73 128 help
206506cc
RD
129 POSIX Access Control Lists (ACLs) support additional access rights
130 for users and groups beyond the standard owner/group/world scheme,
131 and this option selects support for ACLs specifically for tmpfs
132 filesystems.
133
134 If you've selected TMPFS, it's possible that you'll also need
135 this option as there are a number of Linux distros that require
136 POSIX ACL support under /dev for certain features to work properly.
137 For example, some distros need this feature for ALSA-related /dev
138 files for sound to work properly. In short, if you're not sure,
139 say Y.
4db70f73
EP
140
141 To learn more about Access Control Lists, visit the POSIX ACLs for
142 Linux website <http://acl.bestbits.at/>.
143
b09e0fa4
EP
144config TMPFS_XATTR
145 bool "Tmpfs extended attributes"
146 depends on TMPFS
147 default n
148 help
149 Extended attributes are name:value pairs associated with inodes by
150 the kernel or by users (see the attr(5) manual page, or visit
151 <http://acl.bestbits.at/> for details).
152
153 Currently this enables support for the trusted.* and
154 security.* namespaces.
155
b09e0fa4
EP
156 You need this for POSIX ACL support on tmpfs.
157
4db70f73 158 If unsure, say N.
39f0247d 159
1da177e4
LT
160config HUGETLBFS
161 bool "HugeTLB file system support"
5a1eb5c4 162 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
ffb4a73d 163 SYS_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a
AO
164 help
165 hugetlbfs is a filesystem backing for HugeTLB pages, based on
166 ramfs. For architectures that support it, say Y here and read
167 <file:Documentation/vm/hugetlbpage.txt> for details.
168
169 If unsure, say N.
1da177e4
LT
170
171config HUGETLB_PAGE
172 def_bool HUGETLBFS
173
4591dabe 174source "fs/configfs/Kconfig"
62c204dd 175source "fs/efivarfs/Kconfig"
7063fbf2 176
1da177e4
LT
177endmenu
178
67ec7d3a
RD
179menuconfig MISC_FILESYSTEMS
180 bool "Miscellaneous filesystems"
181 default y
182 ---help---
183 Say Y here to get to see options for various miscellaneous
184 filesystems, such as filesystems that came from other
185 operating systems.
186
187 This option alone does not add any kernel code.
188
189 If you say N, all options in this submenu will be skipped and
190 disabled; if unsure, say Y here.
191
192if MISC_FILESYSTEMS
1da177e4 193
bc2de2ae 194source "fs/adfs/Kconfig"
10951bf0 195source "fs/affs/Kconfig"
295c896c 196source "fs/ecryptfs/Kconfig"
b08bac1f
AD
197source "fs/hfs/Kconfig"
198source "fs/hfsplus/Kconfig"
0b09eb32 199source "fs/befs/Kconfig"
0ff42384 200source "fs/bfs/Kconfig"
571f0a0b 201source "fs/efs/Kconfig"
31db6e9e 202source "fs/jffs2/Kconfig"
0d7eff87
AB
203# UBIFS File system configuration
204source "fs/ubifs/Kconfig"
5db53f3e 205source "fs/logfs/Kconfig"
2a22783b 206source "fs/cramfs/Kconfig"
22635ec9 207source "fs/squashfs/Kconfig"
22135169 208source "fs/freevxfs/Kconfig"
8b1cd7d3 209source "fs/minix/Kconfig"
da55e6f9 210source "fs/omfs/Kconfig"
928ea192 211source "fs/hpfs/Kconfig"
4c741583 212source "fs/qnx4/Kconfig"
5d026c72 213source "fs/qnx6/Kconfig"
41810246 214source "fs/romfs/Kconfig"
ca01d6dd 215source "fs/pstore/Kconfig"
8af915ba 216source "fs/sysv/Kconfig"
a276a52f 217source "fs/ufs/Kconfig"
0d8fe329 218source "fs/exofs/Kconfig"
a14d5393 219source "fs/f2fs/Kconfig"
0c4fb877 220
67ec7d3a 221endif # MISC_FILESYSTEMS
1da177e4 222
831c2dc5
BH
223source "fs/exofs/Kconfig.ore"
224
ea0985ad
JE
225menuconfig NETWORK_FILESYSTEMS
226 bool "Network File Systems"
227 default y
1da177e4 228 depends on NET
ea0985ad
JE
229 ---help---
230 Say Y here to get to see options for network filesystems and
231 filesystem-related networking code, such as NFS daemon and
232 RPCSEC security modules.
6fb1bc10 233
ea0985ad
JE
234 This option alone does not add any kernel code.
235
236 If you say N, all options in this submenu will be skipped and
237 disabled; if unsure, say Y here.
238
239if NETWORK_FILESYSTEMS
1da177e4 240
97afe47a 241source "fs/nfs/Kconfig"
e2b329e2 242source "fs/nfsd/Kconfig"
1da177e4 243
f7790029
JL
244config GRACE_PERIOD
245 tristate
246
1da177e4
LT
247config LOCKD
248 tristate
dd4dc82d 249 depends on FILE_LOCKING
f7790029 250 select GRACE_PERIOD
1da177e4
LT
251
252config LOCKD_V4
253 bool
254 depends on NFSD_V3 || NFS_V3
dd4dc82d 255 depends on FILE_LOCKING
1da177e4
LT
256 default y
257
a257cdd0
AG
258config NFS_ACL_SUPPORT
259 tristate
260 select FS_POSIX_ACL
261
262config NFS_COMMON
263 bool
f7790029 264 depends on NFSD || NFS_FS || LOCKD
a257cdd0
AG
265 default y
266
9098c24f 267source "net/sunrpc/Kconfig"
9030aaf9 268source "fs/ceph/Kconfig"
bb26b963 269source "fs/cifs/Kconfig"
1da177e4 270source "fs/ncpfs/Kconfig"
33a1a6fe 271source "fs/coda/Kconfig"
b2480c7f 272source "fs/afs/Kconfig"
0fcb4408 273source "fs/9p/Kconfig"
93fa58cb 274
ea0985ad 275endif # NETWORK_FILESYSTEMS
1da177e4 276
1da177e4 277source "fs/nls/Kconfig"
e7fd4179 278source "fs/dlm/Kconfig"
1da177e4
LT
279
280endmenu