xref: /linux/fs/Kconfig (revision 8804d970fab45726b3c7cd7f240b31122aa94219)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# File system configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsmenu "File systems"
71da177e4SLinus Torvalds
8bfcfaa77SLinus Torvalds# Use unaligned word dcache accesses
9bfcfaa77SLinus Torvaldsconfig DCACHE_WORD_ACCESS
10bfcfaa77SLinus Torvalds       bool
11bfcfaa77SLinus Torvalds
1231d921c7SDavid Howellsconfig VALIDATE_FS_PARSER
1331d921c7SDavid Howells	bool "Validate filesystem parameter description"
1431d921c7SDavid Howells	help
1531d921c7SDavid Howells	  Enable this to perform validation of the parameter description for a
1631d921c7SDavid Howells	  filesystem when it is registered.
1731d921c7SDavid Howells
18ae259a9cSChristoph Hellwigconfig FS_IOMAP
19ae259a9cSChristoph Hellwig	bool
20ae259a9cSChristoph Hellwig
21f91a704fSAmir Goldstein# Stackable filesystems
22f91a704fSAmir Goldsteinconfig FS_STACK
23f91a704fSAmir Goldstein	bool
24f91a704fSAmir Goldstein
25925c86a1SChristoph Hellwigconfig BUFFER_HEAD
26925c86a1SChristoph Hellwig	bool
27925c86a1SChristoph Hellwig
289636e650SChristoph Hellwig# old blockdev_direct_IO implementation.  Use iomap for new code instead
299636e650SChristoph Hellwigconfig LEGACY_DIRECT_IO
30925c86a1SChristoph Hellwig	depends on BUFFER_HEAD
319636e650SChristoph Hellwig	bool
329636e650SChristoph Hellwig
33ca72d221SChristoph Hellwigif BLOCK
34ca72d221SChristoph Hellwig
356da0b38fSAlexey Dobriyansource "fs/ext2/Kconfig"
366da0b38fSAlexey Dobriyansource "fs/ext4/Kconfig"
376da0b38fSAlexey Dobriyansource "fs/jbd2/Kconfig"
38dab291afSMingming Cao
391da177e4SLinus Torvaldsconfig FS_MBCACHE
4002ea2104SMingming Cao# Meta block cache for Extended Attributes (ext2/ext3/ext4)
411da177e4SLinus Torvalds	tristate
422c512397SAdrian Bunk	default y if EXT2_FS=y && EXT2_FS_XATTR
43939da108STao Ma	default y if EXT4_FS=y
44c290ea01SJan Kara	default m if EXT2_FS_XATTR || EXT4_FS
451da177e4SLinus Torvalds
46f5c77969SAlexey Dobriyansource "fs/jfs/Kconfig"
471da177e4SLinus Torvalds
4869050eeeSTomas Szepesource "fs/xfs/Kconfig"
4969050eeeSTomas Szepesource "fs/gfs2/Kconfig"
5069050eeeSTomas Szepesource "fs/ocfs2/Kconfig"
5169050eeeSTomas Szepesource "fs/btrfs/Kconfig"
5241f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig"
53d7196c5aSJaegeuk Kimsource "fs/f2fs/Kconfig"
548dcc1a9dSDamien Le Moalsource "fs/zonefs/Kconfig"
5569050eeeSTomas Szepe
56b842f1d1SChristoph Hellwigendif # BLOCK
57b842f1d1SChristoph Hellwig
586cd176a5SMatthew Wilcoxconfig FS_DAX
596c97ec17SChristoph Hellwig	bool "File system based Direct Access (DAX) support"
606cd176a5SMatthew Wilcox	depends on MMU
6128dc88c3SAlistair Popple	depends on ZONE_DEVICE
626affb9d7SRoss Zwisler	select FS_IOMAP
63ef510424SDan Williams	select DAX
646cd176a5SMatthew Wilcox	help
656cd176a5SMatthew Wilcox	  Direct Access (DAX) can be used on memory-backed block devices.
666cd176a5SMatthew Wilcox	  If the block device supports DAX and the filesystem supports DAX,
676cd176a5SMatthew Wilcox	  then you can avoid using the pagecache to buffer I/Os.  Turning
686c97ec17SChristoph Hellwig	  on this option will compile in support for DAX.
696c97ec17SChristoph Hellwig
706c97ec17SChristoph Hellwig	  For a DAX device to support file system access it needs to have
716c97ec17SChristoph Hellwig	  struct pages.  For the nfit based NVDIMMs this can be enabled
726c97ec17SChristoph Hellwig	  using the ndctl utility:
736c97ec17SChristoph Hellwig
746c97ec17SChristoph Hellwig		# ndctl create-namespace --force --reconfig=namespace0.0 \
756c97ec17SChristoph Hellwig			--mode=fsdax --map=mem
766c97ec17SChristoph Hellwig
776c97ec17SChristoph Hellwig	  See the 'create-namespace' man page for details on the overhead of
786c97ec17SChristoph Hellwig	  --map=mem:
796c97ec17SChristoph Hellwig	  https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace
806c97ec17SChristoph Hellwig
816c97ec17SChristoph Hellwig          For ndctl to work CONFIG_DEV_DAX needs to be enabled as well. For most
826c97ec17SChristoph Hellwig	  file systems DAX support needs to be manually enabled globally or
836c97ec17SChristoph Hellwig	  per-inode using a mount option as well.  See the file documentation in
846c97ec17SChristoph Hellwig	  Documentation/filesystems/dax.rst for details.
856cd176a5SMatthew Wilcox
866cd176a5SMatthew Wilcox	  If you do not have a block device that is capable of using this,
876cd176a5SMatthew Wilcox	  or if unsure, say N.  Saying Y will increase the size of the kernel
886cd176a5SMatthew Wilcox	  by about 5kB.
896cd176a5SMatthew Wilcox
90ee82c9edSDan Williamsconfig FS_DAX_PMD
91ee82c9edSDan Williams	bool
92ee82c9edSDan Williams	default FS_DAX
93ee82c9edSDan Williams	depends on FS_DAX
94c046c321SDan Williams	depends on ZONE_DEVICE
95c046c321SDan Williams	depends on TRANSPARENT_HUGEPAGE
96ee82c9edSDan Williams
9716ebe911SRandy Dunlap# Posix ACL utility routines
9816ebe911SRandy Dunlap#
9916ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
10016ebe911SRandy Dunlap# this symbol for ifdefs in core code.
10116ebe911SRandy Dunlap#
10216ebe911SRandy Dunlapconfig FS_POSIX_ACL
10316ebe911SRandy Dunlap	def_bool n
10416ebe911SRandy Dunlap
1054199ca77SRandy Dunlapconfig EXPORTFS
10679fead47SJonas Gorski	tristate
1074199ca77SRandy Dunlap
10815d66ac2SBenjamin Coddingtonconfig EXPORTFS_BLOCK_OPS
10915d66ac2SBenjamin Coddington	bool "Enable filesystem export operations for block IO"
11015d66ac2SBenjamin Coddington	help
11115d66ac2SBenjamin Coddington	  This option enables the export operations for a filesystem to support
11215d66ac2SBenjamin Coddington	  external block IO.
11315d66ac2SBenjamin Coddington
114bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
1156a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
116bfcd17a6SThomas Petazzoni	default y
117bfcd17a6SThomas Petazzoni	help
118bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
119bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
120bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
121bfcd17a6SThomas Petazzoni
1220b81d077SJaegeuk Kimsource "fs/crypto/Kconfig"
1230b81d077SJaegeuk Kim
124671e67b4SEric Biggerssource "fs/verity/Kconfig"
125671e67b4SEric Biggers
126272eb014SEric Parissource "fs/notify/Kconfig"
1272d9048e2SAmy Griffis
128884d179dSJan Karasource "fs/quota/Kconfig"
1291da177e4SLinus Torvalds
1302a3ae0a1SIan Kentsource "fs/autofs/Kconfig"
1313ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
132e9be9d5eSMiklos Szeredisource "fs/overlayfs/Kconfig"
13304578f17SMiklos Szeredi
13406b3db1bSDavid Howellsmenu "Caches"
13506b3db1bSDavid Howells
1363d3c9504SDavid Howellssource "fs/netfs/Kconfig"
1379ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
13806b3db1bSDavid Howells
13906b3db1bSDavid Howellsendmenu
14006b3db1bSDavid Howells
1419361401eSDavid Howellsif BLOCK
1421da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
1431da177e4SLinus Torvalds
144ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
145ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvaldsendmenu
14825fad945SRandy Dunlapendif # BLOCK
1491da177e4SLinus Torvalds
1509361401eSDavid Howellsif BLOCK
151b9d1e2e6SNamjae Jeonmenu "DOS/FAT/EXFAT/NT Filesystems"
1521da177e4SLinus Torvalds
1531c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
154b9d1e2e6SNamjae Jeonsource "fs/exfat/Kconfig"
1556e5be40dSKonstantin Komarovsource "fs/ntfs3/Kconfig"
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsendmenu
15825fad945SRandy Dunlapendif # BLOCK
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1611da177e4SLinus Torvalds
1626eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
163ba341d55STejun Heosource "fs/kernfs/Kconfig"
1645f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig TMPFS
167f5fc870dSRobert P. J. Day	bool "Tmpfs virtual memory file system support (former shm fs)"
1683f96b79aSHugh Dickins	depends on SHMEM
169626e98cbSThomas Weißschuh	select MEMFD_CREATE
1701da177e4SLinus Torvalds	help
1711da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1741da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1751da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1761da177e4SLinus Torvalds	  lost.
1771da177e4SLinus Torvalds
1780c1bc6b8SMauro Carvalho Chehab	  See <file:Documentation/filesystems/tmpfs.rst> for details.
1791da177e4SLinus Torvalds
1804db70f73SEric Parisconfig TMPFS_POSIX_ACL
1814db70f73SEric Paris	bool "Tmpfs POSIX Access Control Lists"
1824db70f73SEric Paris	depends on TMPFS
1834db70f73SEric Paris	select TMPFS_XATTR
184feda821eSChristoph Hellwig	select FS_POSIX_ACL
1854db70f73SEric Paris	help
186206506ccSRobert P. J. Day	  POSIX Access Control Lists (ACLs) support additional access rights
187206506ccSRobert P. J. Day	  for users and groups beyond the standard owner/group/world scheme,
188206506ccSRobert P. J. Day	  and this option selects support for ACLs specifically for tmpfs
189206506ccSRobert P. J. Day	  filesystems.
190206506ccSRobert P. J. Day
191206506ccSRobert P. J. Day	  If you've selected TMPFS, it's possible that you'll also need
192206506ccSRobert P. J. Day	  this option as there are a number of Linux distros that require
193206506ccSRobert P. J. Day	  POSIX ACL support under /dev for certain features to work properly.
194206506ccSRobert P. J. Day	  For example, some distros need this feature for ALSA-related /dev
195206506ccSRobert P. J. Day	  files for sound to work properly.  In short, if you're not sure,
196206506ccSRobert P. J. Day	  say Y.
1974db70f73SEric Paris
198b09e0fa4SEric Parisconfig TMPFS_XATTR
199b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
200b09e0fa4SEric Paris	depends on TMPFS
201b09e0fa4SEric Paris	default n
202b09e0fa4SEric Paris	help
203b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
20491581e4cSAdam Borowski	  the kernel or by users (see the attr(5) manual page for details).
205b09e0fa4SEric Paris
2062daf18a7SHugh Dickins	  This enables support for the trusted.*, security.* and user.*
2072daf18a7SHugh Dickins	  namespaces.
208b09e0fa4SEric Paris
209b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
210b09e0fa4SEric Paris
2114db70f73SEric Paris	  If unsure, say N.
21239f0247dSAndreas Gruenbacher
213ea3271f7SChris Downconfig TMPFS_INODE64
214ea3271f7SChris Down	bool "Use 64-bit ino_t by default in tmpfs"
215d0ed78e1SHeiko Carstens	depends on TMPFS && 64BIT
216ea3271f7SChris Down	default n
217ea3271f7SChris Down	help
218ea3271f7SChris Down	  tmpfs has historically used only inode numbers as wide as an unsigned
219ea3271f7SChris Down	  int. In some cases this can cause wraparound, potentially resulting
220ea3271f7SChris Down	  in multiple files with the same inode number on a single device. This
221ea3271f7SChris Down	  option makes tmpfs use the full width of ino_t by default, without
222ea3271f7SChris Down	  needing to specify the inode64 option when mounting.
223ea3271f7SChris Down
224ea3271f7SChris Down	  But if a long-lived tmpfs is to be accessed by 32-bit applications so
225ea3271f7SChris Down	  ancient that opening a file larger than 2GiB fails with EINVAL, then
226ea3271f7SChris Down	  the INODE64 config option and inode64 mount option risk operations
227ea3271f7SChris Down	  failing with EOVERFLOW once 33-bit inode numbers are reached.
228ea3271f7SChris Down
229ea3271f7SChris Down	  To override this configured default, use the inode32 or inode64
230ea3271f7SChris Down	  option when mounting.
231ea3271f7SChris Down
232ea3271f7SChris Down	  If unsure, say N.
233ea3271f7SChris Down
234eafc474eSCarlos Maiolinoconfig TMPFS_QUOTA
235eafc474eSCarlos Maiolino	bool "Tmpfs quota support"
236eafc474eSCarlos Maiolino	depends on TMPFS
237eafc474eSCarlos Maiolino	select QUOTA
238eafc474eSCarlos Maiolino	help
239eafc474eSCarlos Maiolino	  Quota support allows to set per user and group limits for tmpfs
240eafc474eSCarlos Maiolino	  usage.  Say Y to enable quota support. Once enabled you can control
241eafc474eSCarlos Maiolino	  user and group quota enforcement with quota, usrquota and grpquota
242eafc474eSCarlos Maiolino	  mount options.
243eafc474eSCarlos Maiolino
244eafc474eSCarlos Maiolino	  If unsure, say N.
245eafc474eSCarlos Maiolino
246855f9a8eSAnshuman Khandualconfig ARCH_SUPPORTS_HUGETLBFS
247855f9a8eSAnshuman Khandual	def_bool n
248855f9a8eSAnshuman Khandual
249cddba0afSPeter Xumenuconfig HUGETLBFS
2501da177e4SLinus Torvalds	bool "HugeTLB file system support"
251*6470fb2bSAnshuman Khandual	depends on ARCH_SUPPORTS_HUGETLBFS
252626e98cbSThomas Weißschuh	select MEMFD_CREATE
25326d1dc6bSGang Li	select PADATA if SMP
254dda27d1aSArthur Othieno	help
255dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
256dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
2571ad1335dSMike Rapoport	  <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
258dda27d1aSArthur Othieno
259dda27d1aSArthur Othieno	  If unsure, say N.
2601da177e4SLinus Torvalds
261cddba0afSPeter Xuif HUGETLBFS
262cddba0afSPeter Xuconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON
263cddba0afSPeter Xu	bool "HugeTLB Vmemmap Optimization (HVO) defaults to on"
264cddba0afSPeter Xu	default n
265cddba0afSPeter Xu	depends on HUGETLB_PAGE_OPTIMIZE_VMEMMAP
266cddba0afSPeter Xu	help
267cddba0afSPeter Xu	  The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to
268cddba0afSPeter Xu	  enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off
269cddba0afSPeter Xu	  (boot command line) or hugetlb_optimize_vmemmap (sysctl).
270cddba0afSPeter Xuendif # HUGETLBFS
271cddba0afSPeter Xu
2721da177e4SLinus Torvaldsconfig HUGETLB_PAGE
2731da177e4SLinus Torvalds	def_bool HUGETLBFS
2744a3ef6beSSidhartha Kumar	select XARRAY_MULTI
2751da177e4SLinus Torvalds
27647010c04SMuchun Songconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP
2776be24bedSMuchun Song	def_bool HUGETLB_PAGE
2780b6f1582SAneesh Kumar K.V	depends on ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
2796be24bedSMuchun Song	depends on SPARSEMEM_VMEMMAP
280d65917c4SFrank van der Linden	select SPARSEMEM_VMEMMAP_PREINIT if ARCH_WANT_HUGETLB_VMEMMAP_PREINIT
2816be24bedSMuchun Song
282188cac58SDavid Hildenbrandconfig HUGETLB_PMD_PAGE_TABLE_SHARING
283188cac58SDavid Hildenbrand	def_bool HUGETLB_PAGE
284188cac58SDavid Hildenbrand	depends on ARCH_WANT_HUGE_PMD_SHARE && SPLIT_PMD_PTLOCKS
285188cac58SDavid Hildenbrand
286461a7184SYisheng Xieconfig ARCH_HAS_GIGANTIC_PAGE
287461a7184SYisheng Xie	bool
288461a7184SYisheng Xie
2894591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
29062c204ddSLeif Lindholmsource "fs/efivarfs/Kconfig"
2917063fbf2SJoel Becker
2921da177e4SLinus Torvaldsendmenu
2931da177e4SLinus Torvalds
29467ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
29567ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
29667ec7d3aSRandy Dunlap	default y
297a7f7f624SMasahiro Yamada	help
29867ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
29967ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
30067ec7d3aSRandy Dunlap	  operating systems.
30167ec7d3aSRandy Dunlap
30267ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
30367ec7d3aSRandy Dunlap
30467ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
30567ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
30667ec7d3aSRandy Dunlap
30767ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
3081da177e4SLinus Torvalds
30907f01962SMike Marshallsource "fs/orangefs/Kconfig"
310bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
31110951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
312295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
313b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
314b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
3150b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
3160ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
317571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
31831db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
3190d7eff87SArtem Bityutskiy# UBIFS File system configuration
3200d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
3212a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
32222635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
32322135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
3248b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
325da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
326928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
3274c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
3285d026c72SKai Bankettsource "fs/qnx6/Kconfig"
329bff70402SJames Morsesource "fs/resctrl/Kconfig"
33041810246SAlexey Dobriyansource "fs/romfs/Kconfig"
331ca01d6ddSTony Lucksource "fs/pstore/Kconfig"
332a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
33347e4937aSGao Xiangsource "fs/erofs/Kconfig"
3340fd16957SHans de Goedesource "fs/vboxsf/Kconfig"
3350c4fb877SRyusuke Konishi
33667ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
3371da177e4SLinus Torvalds
338ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
339ea0985adSJan Engelhardt	bool "Network File Systems"
340ea0985adSJan Engelhardt	default y
3411da177e4SLinus Torvalds	depends on NET
342a7f7f624SMasahiro Yamada	help
343ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
344ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
345ea0985adSJan Engelhardt	  RPCSEC security modules.
3466fb1bc10SChuck Lever
347ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
348ea0985adSJan Engelhardt
349ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
350ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
351ea0985adSJan Engelhardt
352ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
3531da177e4SLinus Torvalds
35497afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
355e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
3561da177e4SLinus Torvalds
357f7790029SJeff Laytonconfig GRACE_PERIOD
358f7790029SJeff Layton	tristate
359f7790029SJeff Layton
3601da177e4SLinus Torvaldsconfig LOCKD
3611da177e4SLinus Torvalds	tristate
362dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
363cd35b6cbSEric Biggers	select CRC32
364f7790029SJeff Layton	select GRACE_PERIOD
3651da177e4SLinus Torvalds
3661da177e4SLinus Torvaldsconfig LOCKD_V4
3671da177e4SLinus Torvalds	bool
3685f9a62ffSChuck Lever	depends on NFSD || NFS_V3
369dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
3701da177e4SLinus Torvalds	default y
3711da177e4SLinus Torvalds
372a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
373a257cdd0SAndreas Gruenbacher	tristate
374a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
375a257cdd0SAndreas Gruenbacher
376a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
377a257cdd0SAndreas Gruenbacher	bool
378f7790029SJeff Layton	depends on NFSD || NFS_FS || LOCKD
379a257cdd0SAndreas Gruenbacher	default y
380a257cdd0SAndreas Gruenbacher
3812a33a85bSMike Snitzerconfig NFS_COMMON_LOCALIO_SUPPORT
3822a33a85bSMike Snitzer	tristate
383009b15b5SMike Snitzer	depends on NFS_LOCALIO
3842a33a85bSMike Snitzer	default y if NFSD=y || NFS_FS=y
3852a33a85bSMike Snitzer	default m if NFSD=m && NFS_FS=m
3862a33a85bSMike Snitzer	select SUNRPC
3872a33a85bSMike Snitzer
3882a33a85bSMike Snitzerconfig NFS_LOCALIO
3892a33a85bSMike Snitzer	bool "NFS client and server support for LOCALIO auxiliary protocol"
3902a33a85bSMike Snitzer	depends on NFSD && NFS_FS
3912a33a85bSMike Snitzer	select NFS_COMMON_LOCALIO_SUPPORT
3922a33a85bSMike Snitzer	default n
3932a33a85bSMike Snitzer	help
3942a33a85bSMike Snitzer	  Some NFS servers support an auxiliary NFS LOCALIO protocol
3952a33a85bSMike Snitzer	  that is not an official part of the NFS protocol.
3962a33a85bSMike Snitzer
3972a33a85bSMike Snitzer	  This option enables support for the LOCALIO protocol in the
3982a33a85bSMike Snitzer	  kernel's NFS server and client. Enable this to permit local
3992a33a85bSMike Snitzer	  NFS clients to bypass the network when issuing reads and
4002a33a85bSMike Snitzer	  writes to the local NFS server.
4012a33a85bSMike Snitzer
4022a33a85bSMike Snitzer	  If unsure, say N.
4032a33a85bSMike Snitzer
40402591f9fSDai Ngoconfig NFS_V4_2_SSC_HELPER
405d9092b4bSDai Ngo	bool
406d9092b4bSDai Ngo	default y if NFS_V4_2
40702591f9fSDai Ngo
4089098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
4099030aaf9SSage Weilsource "fs/ceph/Kconfig"
41071c02863SRonnie Sahlberg
41138c8a9a5SSteve Frenchsource "fs/smb/Kconfig"
41233a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
413b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
4140fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
41593fa58cbSEric Van Hensbergen
416ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
4171da177e4SLinus Torvalds
4181da177e4SLinus Torvaldssource "fs/nls/Kconfig"
419e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
420955405d1SGabriel Krisman Bertazisource "fs/unicode/Kconfig"
4211da177e4SLinus Torvalds
422771b53d0SJens Axboeconfig IO_WQ
423771b53d0SJens Axboe	bool
424771b53d0SJens Axboe
4251da177e4SLinus Torvaldsendmenu
426