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