xref: /openbmc/linux/fs/Kconfig (revision f5005f78)
1#
2# File system configuration
3#
4
5menu "File systems"
6
7# Use unaligned word dcache accesses
8config DCACHE_WORD_ACCESS
9       bool
10
11if BLOCK
12
13source "fs/ext2/Kconfig"
14source "fs/ext3/Kconfig"
15source "fs/ext4/Kconfig"
16source "fs/jbd/Kconfig"
17source "fs/jbd2/Kconfig"
18
19config 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
27source "fs/reiserfs/Kconfig"
28source "fs/jfs/Kconfig"
29
30source "fs/xfs/Kconfig"
31source "fs/gfs2/Kconfig"
32source "fs/ocfs2/Kconfig"
33source "fs/btrfs/Kconfig"
34source "fs/nilfs2/Kconfig"
35source "fs/f2fs/Kconfig"
36
37config 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
52endif # 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#
59config FS_POSIX_ACL
60	def_bool n
61
62config EXPORTFS
63	tristate
64
65config 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
73source "fs/notify/Kconfig"
74
75source "fs/quota/Kconfig"
76
77source "fs/autofs4/Kconfig"
78source "fs/fuse/Kconfig"
79source "fs/overlayfs/Kconfig"
80
81menu "Caches"
82
83source "fs/fscache/Kconfig"
84source "fs/cachefiles/Kconfig"
85
86endmenu
87
88if BLOCK
89menu "CD-ROM/DVD Filesystems"
90
91source "fs/isofs/Kconfig"
92source "fs/udf/Kconfig"
93
94endmenu
95endif # BLOCK
96
97if BLOCK
98menu "DOS/FAT/NT Filesystems"
99
100source "fs/fat/Kconfig"
101source "fs/ntfs/Kconfig"
102
103endmenu
104endif # BLOCK
105
106menu "Pseudo filesystems"
107
108source "fs/proc/Kconfig"
109source "fs/kernfs/Kconfig"
110source "fs/sysfs/Kconfig"
111
112config 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
125config 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
146config 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
162config 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
173config HUGETLB_PAGE
174	def_bool HUGETLBFS
175
176source "fs/configfs/Kconfig"
177source "fs/efivarfs/Kconfig"
178
179endmenu
180
181menuconfig 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
194if MISC_FILESYSTEMS
195
196source "fs/adfs/Kconfig"
197source "fs/affs/Kconfig"
198source "fs/ecryptfs/Kconfig"
199source "fs/hfs/Kconfig"
200source "fs/hfsplus/Kconfig"
201source "fs/befs/Kconfig"
202source "fs/bfs/Kconfig"
203source "fs/efs/Kconfig"
204source "fs/jffs2/Kconfig"
205# UBIFS File system configuration
206source "fs/ubifs/Kconfig"
207source "fs/logfs/Kconfig"
208source "fs/cramfs/Kconfig"
209source "fs/squashfs/Kconfig"
210source "fs/freevxfs/Kconfig"
211source "fs/minix/Kconfig"
212source "fs/omfs/Kconfig"
213source "fs/hpfs/Kconfig"
214source "fs/qnx4/Kconfig"
215source "fs/qnx6/Kconfig"
216source "fs/romfs/Kconfig"
217source "fs/pstore/Kconfig"
218source "fs/sysv/Kconfig"
219source "fs/ufs/Kconfig"
220source "fs/exofs/Kconfig"
221
222endif # MISC_FILESYSTEMS
223
224source "fs/exofs/Kconfig.ore"
225
226menuconfig 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
240if NETWORK_FILESYSTEMS
241
242source "fs/nfs/Kconfig"
243source "fs/nfsd/Kconfig"
244
245config GRACE_PERIOD
246	tristate
247
248config LOCKD
249	tristate
250	depends on FILE_LOCKING
251	select GRACE_PERIOD
252
253config LOCKD_V4
254	bool
255	depends on NFSD_V3 || NFS_V3
256	depends on FILE_LOCKING
257	default y
258
259config NFS_ACL_SUPPORT
260	tristate
261	select FS_POSIX_ACL
262
263config NFS_COMMON
264	bool
265	depends on NFSD || NFS_FS || LOCKD
266	default y
267
268source "net/sunrpc/Kconfig"
269source "fs/ceph/Kconfig"
270source "fs/cifs/Kconfig"
271source "fs/ncpfs/Kconfig"
272source "fs/coda/Kconfig"
273source "fs/afs/Kconfig"
274source "fs/9p/Kconfig"
275
276endif # NETWORK_FILESYSTEMS
277
278source "fs/nls/Kconfig"
279source "fs/dlm/Kconfig"
280
281endmenu
282