Blame view
fs/Kconfig
7.6 KB
ec8f24b7f
|
1 |
# SPDX-License-Identifier: GPL-2.0-only |
1da177e4c
|
2 3 4 5 6 |
# # File system configuration # menu "File systems" |
bfcfaa77b
|
7 8 9 |
# Use unaligned word dcache accesses config DCACHE_WORD_ACCESS bool |
31d921c7f
|
10 11 |
config VALIDATE_FS_PARSER bool "Validate filesystem parameter description" |
31d921c7f
|
12 13 14 |
help Enable this to perform validation of the parameter description for a filesystem when it is registered. |
9361401eb
|
15 |
if BLOCK |
ae259a9c8
|
16 17 |
config FS_IOMAP bool |
6da0b38f4
|
18 |
source "fs/ext2/Kconfig" |
6da0b38f4
|
19 |
source "fs/ext4/Kconfig" |
6da0b38f4
|
20 |
source "fs/jbd2/Kconfig" |
dab291af8
|
21 |
|
1da177e4c
|
22 |
config FS_MBCACHE |
02ea2104c
|
23 |
# Meta block cache for Extended Attributes (ext2/ext3/ext4) |
1da177e4c
|
24 |
tristate |
2c512397c
|
25 |
default y if EXT2_FS=y && EXT2_FS_XATTR |
939da1084
|
26 |
default y if EXT4_FS=y |
c290ea01a
|
27 |
default m if EXT2_FS_XATTR || EXT4_FS |
1da177e4c
|
28 |
|
b16ecfe2f
|
29 |
source "fs/reiserfs/Kconfig" |
f5c77969b
|
30 |
source "fs/jfs/Kconfig" |
1da177e4c
|
31 |
|
69050eee8
|
32 33 34 35 |
source "fs/xfs/Kconfig" source "fs/gfs2/Kconfig" source "fs/ocfs2/Kconfig" source "fs/btrfs/Kconfig" |
41f4db0f4
|
36 |
source "fs/nilfs2/Kconfig" |
d7196c5a3
|
37 |
source "fs/f2fs/Kconfig" |
69050eee8
|
38 |
|
6cd176a51
|
39 40 41 |
config FS_DAX bool "Direct Access (DAX) support" depends on MMU |
d92576f11
|
42 |
depends on !(ARM || MIPS || SPARC) |
e76384884
|
43 |
select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED) |
6affb9d7b
|
44 |
select FS_IOMAP |
ef5104247
|
45 |
select DAX |
6cd176a51
|
46 47 48 49 50 51 52 53 54 55 |
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
|
56 57 58 59 |
config FS_DAX_PMD bool default FS_DAX depends on FS_DAX |
c046c321c
|
60 61 |
depends on ZONE_DEVICE depends on TRANSPARENT_HUGEPAGE |
ee82c9ed4
|
62 |
|
569d0365f
|
63 64 65 66 67 68 |
# 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
|
69 |
endif # BLOCK |
16ebe911e
|
70 71 72 73 74 75 76 |
# 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
|
77 |
config EXPORTFS |
79fead47c
|
78 |
tristate |
4199ca77c
|
79 |
|
15d66ac20
|
80 81 82 83 84 |
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
|
85 |
config FILE_LOCKING |
6a108a14f
|
86 |
bool "Enable POSIX file locking API" if EXPERT |
bfcd17a6c
|
87 88 89 90 91 |
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
|
92 93 94 95 96 97 98 99 100 |
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
|
101 |
source "fs/crypto/Kconfig" |
671e67b47
|
102 |
source "fs/verity/Kconfig" |
272eb0148
|
103 |
source "fs/notify/Kconfig" |
0eeca2830
|
104 |
|
884d179df
|
105 |
source "fs/quota/Kconfig" |
1da177e4c
|
106 |
|
2a3ae0a12
|
107 |
source "fs/autofs/Kconfig" |
3ef7784e4
|
108 |
source "fs/fuse/Kconfig" |
e9be9d5e7
|
109 |
source "fs/overlayfs/Kconfig" |
04578f174
|
110 |
|
06b3db1b9
|
111 112 113 |
menu "Caches" source "fs/fscache/Kconfig" |
9ae326a69
|
114 |
source "fs/cachefiles/Kconfig" |
06b3db1b9
|
115 116 |
endmenu |
9361401eb
|
117 |
if BLOCK |
1da177e4c
|
118 |
menu "CD-ROM/DVD Filesystems" |
ddfaccd99
|
119 120 |
source "fs/isofs/Kconfig" source "fs/udf/Kconfig" |
1da177e4c
|
121 122 |
endmenu |
25fad945a
|
123 |
endif # BLOCK |
1da177e4c
|
124 |
|
9361401eb
|
125 |
if BLOCK |
1da177e4c
|
126 |
menu "DOS/FAT/NT Filesystems" |
1c6ace019
|
127 |
source "fs/fat/Kconfig" |
9d73ac9e8
|
128 |
source "fs/ntfs/Kconfig" |
1da177e4c
|
129 130 |
endmenu |
25fad945a
|
131 |
endif # BLOCK |
1da177e4c
|
132 133 |
menu "Pseudo filesystems" |
6eedf8d30
|
134 |
source "fs/proc/Kconfig" |
ba341d55a
|
135 |
source "fs/kernfs/Kconfig" |
5f3a211a8
|
136 |
source "fs/sysfs/Kconfig" |
1da177e4c
|
137 |
|
1da177e4c
|
138 |
config TMPFS |
f5fc870da
|
139 |
bool "Tmpfs virtual memory file system support (former shm fs)" |
3f96b79ad
|
140 |
depends on SHMEM |
1da177e4c
|
141 142 143 144 145 146 147 148 149 |
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. See <file:Documentation/filesystems/tmpfs.txt> for details. |
4db70f73e
|
150 151 152 153 |
config TMPFS_POSIX_ACL bool "Tmpfs POSIX Access Control Lists" depends on TMPFS select TMPFS_XATTR |
feda821e7
|
154 |
select FS_POSIX_ACL |
4db70f73e
|
155 |
help |
206506ccf
|
156 157 158 159 160 161 162 163 164 165 166 |
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
|
167 |
|
b09e0fa4b
|
168 169 170 171 172 173 |
config TMPFS_XATTR bool "Tmpfs extended attributes" depends on TMPFS default n help Extended attributes are name:value pairs associated with inodes by |
91581e4c6
|
174 |
the kernel or by users (see the attr(5) manual page for details). |
b09e0fa4b
|
175 176 177 |
Currently this enables support for the trusted.* and security.* namespaces. |
b09e0fa4b
|
178 |
You need this for POSIX ACL support on tmpfs. |
4db70f73e
|
179 |
If unsure, say N. |
39f0247d3
|
180 |
|
1da177e4c
|
181 182 |
config HUGETLBFS bool "HugeTLB file system support" |
5a1eb5c44
|
183 |
depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \ |
ffb4a73d8
|
184 |
SYS_SUPPORTS_HUGETLBFS || BROKEN |
dda27d1a5
|
185 186 187 |
help hugetlbfs is a filesystem backing for HugeTLB pages, based on ramfs. For architectures that support it, say Y here and read |
1ad1335dc
|
188 |
<file:Documentation/admin-guide/mm/hugetlbpage.rst> for details. |
dda27d1a5
|
189 190 |
If unsure, say N. |
1da177e4c
|
191 192 193 |
config HUGETLB_PAGE def_bool HUGETLBFS |
5d752600a
|
194 195 |
config MEMFD_CREATE def_bool TMPFS || HUGETLBFS |
461a71843
|
196 197 |
config ARCH_HAS_GIGANTIC_PAGE bool |
4591dabe2
|
198 |
source "fs/configfs/Kconfig" |
62c204ddf
|
199 |
source "fs/efivarfs/Kconfig" |
7063fbf22
|
200 |
|
1da177e4c
|
201 |
endmenu |
67ec7d3ab
|
202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
menuconfig MISC_FILESYSTEMS bool "Miscellaneous filesystems" default y ---help--- 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
|
216 |
|
07f01962e
|
217 |
source "fs/orangefs/Kconfig" |
bc2de2ae6
|
218 |
source "fs/adfs/Kconfig" |
10951bf05
|
219 |
source "fs/affs/Kconfig" |
295c896cb
|
220 |
source "fs/ecryptfs/Kconfig" |
b08bac1f1
|
221 222 |
source "fs/hfs/Kconfig" source "fs/hfsplus/Kconfig" |
0b09eb329
|
223 |
source "fs/befs/Kconfig" |
0ff423849
|
224 |
source "fs/bfs/Kconfig" |
571f0a0bd
|
225 |
source "fs/efs/Kconfig" |
31db6e9ea
|
226 |
source "fs/jffs2/Kconfig" |
0d7eff873
|
227 228 |
# UBIFS File system configuration source "fs/ubifs/Kconfig" |
2a22783be
|
229 |
source "fs/cramfs/Kconfig" |
22635ec9e
|
230 |
source "fs/squashfs/Kconfig" |
22135169d
|
231 |
source "fs/freevxfs/Kconfig" |
8b1cd7d3c
|
232 |
source "fs/minix/Kconfig" |
da55e6f92
|
233 |
source "fs/omfs/Kconfig" |
928ea1929
|
234 |
source "fs/hpfs/Kconfig" |
4c7415830
|
235 |
source "fs/qnx4/Kconfig" |
5d026c724
|
236 |
source "fs/qnx6/Kconfig" |
41810246d
|
237 |
source "fs/romfs/Kconfig" |
ca01d6dd2
|
238 |
source "fs/pstore/Kconfig" |
8af915ba1
|
239 |
source "fs/sysv/Kconfig" |
a276a52f9
|
240 |
source "fs/ufs/Kconfig" |
47e4937a4
|
241 |
source "fs/erofs/Kconfig" |
0c4fb8776
|
242 |
|
67ec7d3ab
|
243 |
endif # MISC_FILESYSTEMS |
1da177e4c
|
244 |
|
ea0985ad7
|
245 246 247 |
menuconfig NETWORK_FILESYSTEMS bool "Network File Systems" default y |
1da177e4c
|
248 |
depends on NET |
ea0985ad7
|
249 250 251 252 |
---help--- 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
|
253 |
|
ea0985ad7
|
254 255 256 257 258 259 |
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
|
260 |
|
97afe47ac
|
261 |
source "fs/nfs/Kconfig" |
e2b329e20
|
262 |
source "fs/nfsd/Kconfig" |
1da177e4c
|
263 |
|
f77900296
|
264 265 |
config GRACE_PERIOD tristate |
1da177e4c
|
266 267 |
config LOCKD tristate |
dd4dc82d4
|
268 |
depends on FILE_LOCKING |
f77900296
|
269 |
select GRACE_PERIOD |
1da177e4c
|
270 271 272 273 |
config LOCKD_V4 bool depends on NFSD_V3 || NFS_V3 |
dd4dc82d4
|
274 |
depends on FILE_LOCKING |
1da177e4c
|
275 |
default y |
a257cdd0e
|
276 277 278 279 280 281 |
config NFS_ACL_SUPPORT tristate select FS_POSIX_ACL config NFS_COMMON bool |
f77900296
|
282 |
depends on NFSD || NFS_FS || LOCKD |
a257cdd0e
|
283 |
default y |
9098c24f3
|
284 |
source "net/sunrpc/Kconfig" |
9030aaf9b
|
285 |
source "fs/ceph/Kconfig" |
bb26b963d
|
286 |
source "fs/cifs/Kconfig" |
33a1a6fed
|
287 |
source "fs/coda/Kconfig" |
b2480c7fb
|
288 |
source "fs/afs/Kconfig" |
0fcb44088
|
289 |
source "fs/9p/Kconfig" |
93fa58cb8
|
290 |
|
ea0985ad7
|
291 |
endif # NETWORK_FILESYSTEMS |
1da177e4c
|
292 |
|
1da177e4c
|
293 |
source "fs/nls/Kconfig" |
e7fd41792
|
294 |
source "fs/dlm/Kconfig" |
955405d11
|
295 |
source "fs/unicode/Kconfig" |
1da177e4c
|
296 297 |
endmenu |