xref: /linux/fs/Kconfig (revision 2a33a85be45178198245e1f656e6224c899895e4)
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
46b16ecfe2SAlexey Dobriyansource "fs/reiserfs/Kconfig"
47f5c77969SAlexey Dobriyansource "fs/jfs/Kconfig"
481da177e4SLinus Torvalds
4969050eeeSTomas Szepesource "fs/xfs/Kconfig"
5069050eeeSTomas Szepesource "fs/gfs2/Kconfig"
5169050eeeSTomas Szepesource "fs/ocfs2/Kconfig"
5269050eeeSTomas Szepesource "fs/btrfs/Kconfig"
5341f4db0fSRyusuke Konishisource "fs/nilfs2/Kconfig"
54d7196c5aSJaegeuk Kimsource "fs/f2fs/Kconfig"
551c6fdbd8SKent Overstreetsource "fs/bcachefs/Kconfig"
568dcc1a9dSDamien Le Moalsource "fs/zonefs/Kconfig"
5769050eeeSTomas Szepe
58b842f1d1SChristoph Hellwigendif # BLOCK
59b842f1d1SChristoph Hellwig
606cd176a5SMatthew Wilcoxconfig FS_DAX
616c97ec17SChristoph Hellwig	bool "File system based Direct Access (DAX) support"
626cd176a5SMatthew Wilcox	depends on MMU
63f7451598SChristoph Hellwig	depends on ZONE_DEVICE || FS_DAX_LIMITED
646affb9d7SRoss Zwisler	select FS_IOMAP
65ef510424SDan Williams	select DAX
666cd176a5SMatthew Wilcox	help
676cd176a5SMatthew Wilcox	  Direct Access (DAX) can be used on memory-backed block devices.
686cd176a5SMatthew Wilcox	  If the block device supports DAX and the filesystem supports DAX,
696cd176a5SMatthew Wilcox	  then you can avoid using the pagecache to buffer I/Os.  Turning
706c97ec17SChristoph Hellwig	  on this option will compile in support for DAX.
716c97ec17SChristoph Hellwig
726c97ec17SChristoph Hellwig	  For a DAX device to support file system access it needs to have
736c97ec17SChristoph Hellwig	  struct pages.  For the nfit based NVDIMMs this can be enabled
746c97ec17SChristoph Hellwig	  using the ndctl utility:
756c97ec17SChristoph Hellwig
766c97ec17SChristoph Hellwig		# ndctl create-namespace --force --reconfig=namespace0.0 \
776c97ec17SChristoph Hellwig			--mode=fsdax --map=mem
786c97ec17SChristoph Hellwig
796c97ec17SChristoph Hellwig	  See the 'create-namespace' man page for details on the overhead of
806c97ec17SChristoph Hellwig	  --map=mem:
816c97ec17SChristoph Hellwig	  https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace
826c97ec17SChristoph Hellwig
836c97ec17SChristoph Hellwig          For ndctl to work CONFIG_DEV_DAX needs to be enabled as well. For most
846c97ec17SChristoph Hellwig	  file systems DAX support needs to be manually enabled globally or
856c97ec17SChristoph Hellwig	  per-inode using a mount option as well.  See the file documentation in
866c97ec17SChristoph Hellwig	  Documentation/filesystems/dax.rst for details.
876cd176a5SMatthew Wilcox
886cd176a5SMatthew Wilcox	  If you do not have a block device that is capable of using this,
896cd176a5SMatthew Wilcox	  or if unsure, say N.  Saying Y will increase the size of the kernel
906cd176a5SMatthew Wilcox	  by about 5kB.
916cd176a5SMatthew Wilcox
92ee82c9edSDan Williamsconfig FS_DAX_PMD
93ee82c9edSDan Williams	bool
94ee82c9edSDan Williams	default FS_DAX
95ee82c9edSDan Williams	depends on FS_DAX
96c046c321SDan Williams	depends on ZONE_DEVICE
97c046c321SDan Williams	depends on TRANSPARENT_HUGEPAGE
98ee82c9edSDan Williams
99569d0365SDan Williams# Selected by DAX drivers that do not expect filesystem DAX to support
100569d0365SDan Williams# get_user_pages() of DAX mappings. I.e. "limited" indicates no support
101569d0365SDan Williams# for fork() of processes with MAP_SHARED mappings or support for
102569d0365SDan Williams# direct-I/O to a DAX mapping.
103569d0365SDan Williamsconfig FS_DAX_LIMITED
104569d0365SDan Williams	bool
105569d0365SDan Williams
10616ebe911SRandy Dunlap# Posix ACL utility routines
10716ebe911SRandy Dunlap#
10816ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
10916ebe911SRandy Dunlap# this symbol for ifdefs in core code.
11016ebe911SRandy Dunlap#
11116ebe911SRandy Dunlapconfig FS_POSIX_ACL
11216ebe911SRandy Dunlap	def_bool n
11316ebe911SRandy Dunlap
1144199ca77SRandy Dunlapconfig EXPORTFS
11579fead47SJonas Gorski	tristate
1164199ca77SRandy Dunlap
11715d66ac2SBenjamin Coddingtonconfig EXPORTFS_BLOCK_OPS
11815d66ac2SBenjamin Coddington	bool "Enable filesystem export operations for block IO"
11915d66ac2SBenjamin Coddington	help
12015d66ac2SBenjamin Coddington	  This option enables the export operations for a filesystem to support
12115d66ac2SBenjamin Coddington	  external block IO.
12215d66ac2SBenjamin Coddington
123bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
1246a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
125bfcd17a6SThomas Petazzoni	default y
126bfcd17a6SThomas Petazzoni	help
127bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
128bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
129bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
130bfcd17a6SThomas Petazzoni
1310b81d077SJaegeuk Kimsource "fs/crypto/Kconfig"
1320b81d077SJaegeuk Kim
133671e67b4SEric Biggerssource "fs/verity/Kconfig"
134671e67b4SEric Biggers
135272eb014SEric Parissource "fs/notify/Kconfig"
1362d9048e2SAmy Griffis
137884d179dSJan Karasource "fs/quota/Kconfig"
1381da177e4SLinus Torvalds
1392a3ae0a1SIan Kentsource "fs/autofs/Kconfig"
1403ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
141e9be9d5eSMiklos Szeredisource "fs/overlayfs/Kconfig"
14204578f17SMiklos Szeredi
14306b3db1bSDavid Howellsmenu "Caches"
14406b3db1bSDavid Howells
1453d3c9504SDavid Howellssource "fs/netfs/Kconfig"
1469ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
14706b3db1bSDavid Howells
14806b3db1bSDavid Howellsendmenu
14906b3db1bSDavid Howells
1509361401eSDavid Howellsif BLOCK
1511da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
1521da177e4SLinus Torvalds
153ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
154ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvaldsendmenu
15725fad945SRandy Dunlapendif # BLOCK
1581da177e4SLinus Torvalds
1599361401eSDavid Howellsif BLOCK
160b9d1e2e6SNamjae Jeonmenu "DOS/FAT/EXFAT/NT Filesystems"
1611da177e4SLinus Torvalds
1621c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
163b9d1e2e6SNamjae Jeonsource "fs/exfat/Kconfig"
1646e5be40dSKonstantin Komarovsource "fs/ntfs3/Kconfig"
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsendmenu
16725fad945SRandy Dunlapendif # BLOCK
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1701da177e4SLinus Torvalds
1716eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
172ba341d55STejun Heosource "fs/kernfs/Kconfig"
1735f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig TMPFS
176f5fc870dSRobert P. J. Day	bool "Tmpfs virtual memory file system support (former shm fs)"
1773f96b79aSHugh Dickins	depends on SHMEM
178626e98cbSThomas Weißschuh	select MEMFD_CREATE
1791da177e4SLinus Torvalds	help
1801da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1831da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1841da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1851da177e4SLinus Torvalds	  lost.
1861da177e4SLinus Torvalds
1870c1bc6b8SMauro Carvalho Chehab	  See <file:Documentation/filesystems/tmpfs.rst> for details.
1881da177e4SLinus Torvalds
1894db70f73SEric Parisconfig TMPFS_POSIX_ACL
1904db70f73SEric Paris	bool "Tmpfs POSIX Access Control Lists"
1914db70f73SEric Paris	depends on TMPFS
1924db70f73SEric Paris	select TMPFS_XATTR
193feda821eSChristoph Hellwig	select FS_POSIX_ACL
1944db70f73SEric Paris	help
195206506ccSRobert P. J. Day	  POSIX Access Control Lists (ACLs) support additional access rights
196206506ccSRobert P. J. Day	  for users and groups beyond the standard owner/group/world scheme,
197206506ccSRobert P. J. Day	  and this option selects support for ACLs specifically for tmpfs
198206506ccSRobert P. J. Day	  filesystems.
199206506ccSRobert P. J. Day
200206506ccSRobert P. J. Day	  If you've selected TMPFS, it's possible that you'll also need
201206506ccSRobert P. J. Day	  this option as there are a number of Linux distros that require
202206506ccSRobert P. J. Day	  POSIX ACL support under /dev for certain features to work properly.
203206506ccSRobert P. J. Day	  For example, some distros need this feature for ALSA-related /dev
204206506ccSRobert P. J. Day	  files for sound to work properly.  In short, if you're not sure,
205206506ccSRobert P. J. Day	  say Y.
2064db70f73SEric Paris
207b09e0fa4SEric Parisconfig TMPFS_XATTR
208b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
209b09e0fa4SEric Paris	depends on TMPFS
210b09e0fa4SEric Paris	default n
211b09e0fa4SEric Paris	help
212b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
21391581e4cSAdam Borowski	  the kernel or by users (see the attr(5) manual page for details).
214b09e0fa4SEric Paris
2152daf18a7SHugh Dickins	  This enables support for the trusted.*, security.* and user.*
2162daf18a7SHugh Dickins	  namespaces.
217b09e0fa4SEric Paris
218b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
219b09e0fa4SEric Paris
2204db70f73SEric Paris	  If unsure, say N.
22139f0247dSAndreas Gruenbacher
222ea3271f7SChris Downconfig TMPFS_INODE64
223ea3271f7SChris Down	bool "Use 64-bit ino_t by default in tmpfs"
224d0ed78e1SHeiko Carstens	depends on TMPFS && 64BIT
225ea3271f7SChris Down	default n
226ea3271f7SChris Down	help
227ea3271f7SChris Down	  tmpfs has historically used only inode numbers as wide as an unsigned
228ea3271f7SChris Down	  int. In some cases this can cause wraparound, potentially resulting
229ea3271f7SChris Down	  in multiple files with the same inode number on a single device. This
230ea3271f7SChris Down	  option makes tmpfs use the full width of ino_t by default, without
231ea3271f7SChris Down	  needing to specify the inode64 option when mounting.
232ea3271f7SChris Down
233ea3271f7SChris Down	  But if a long-lived tmpfs is to be accessed by 32-bit applications so
234ea3271f7SChris Down	  ancient that opening a file larger than 2GiB fails with EINVAL, then
235ea3271f7SChris Down	  the INODE64 config option and inode64 mount option risk operations
236ea3271f7SChris Down	  failing with EOVERFLOW once 33-bit inode numbers are reached.
237ea3271f7SChris Down
238ea3271f7SChris Down	  To override this configured default, use the inode32 or inode64
239ea3271f7SChris Down	  option when mounting.
240ea3271f7SChris Down
241ea3271f7SChris Down	  If unsure, say N.
242ea3271f7SChris Down
243eafc474eSCarlos Maiolinoconfig TMPFS_QUOTA
244eafc474eSCarlos Maiolino	bool "Tmpfs quota support"
245eafc474eSCarlos Maiolino	depends on TMPFS
246eafc474eSCarlos Maiolino	select QUOTA
247eafc474eSCarlos Maiolino	help
248eafc474eSCarlos Maiolino	  Quota support allows to set per user and group limits for tmpfs
249eafc474eSCarlos Maiolino	  usage.  Say Y to enable quota support. Once enabled you can control
250eafc474eSCarlos Maiolino	  user and group quota enforcement with quota, usrquota and grpquota
251eafc474eSCarlos Maiolino	  mount options.
252eafc474eSCarlos Maiolino
253eafc474eSCarlos Maiolino	  If unsure, say N.
254eafc474eSCarlos Maiolino
255855f9a8eSAnshuman Khandualconfig ARCH_SUPPORTS_HUGETLBFS
256855f9a8eSAnshuman Khandual	def_bool n
257855f9a8eSAnshuman Khandual
258cddba0afSPeter Xumenuconfig HUGETLBFS
2591da177e4SLinus Torvalds	bool "HugeTLB file system support"
260cf8e8658SArd Biesheuvel	depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
261f8142cf9SMiaohe Lin	depends on (SYSFS || SYSCTL)
262626e98cbSThomas Weißschuh	select MEMFD_CREATE
26326d1dc6bSGang Li	select PADATA if SMP
264dda27d1aSArthur Othieno	help
265dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
266dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
2671ad1335dSMike Rapoport	  <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
268dda27d1aSArthur Othieno
269dda27d1aSArthur Othieno	  If unsure, say N.
2701da177e4SLinus Torvalds
271cddba0afSPeter Xuif HUGETLBFS
272cddba0afSPeter Xuconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON
273cddba0afSPeter Xu	bool "HugeTLB Vmemmap Optimization (HVO) defaults to on"
274cddba0afSPeter Xu	default n
275cddba0afSPeter Xu	depends on HUGETLB_PAGE_OPTIMIZE_VMEMMAP
276cddba0afSPeter Xu	help
277cddba0afSPeter Xu	  The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to
278cddba0afSPeter Xu	  enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off
279cddba0afSPeter Xu	  (boot command line) or hugetlb_optimize_vmemmap (sysctl).
280cddba0afSPeter Xuendif # HUGETLBFS
281cddba0afSPeter Xu
2821da177e4SLinus Torvaldsconfig HUGETLB_PAGE
2831da177e4SLinus Torvalds	def_bool HUGETLBFS
2844a3ef6beSSidhartha Kumar	select XARRAY_MULTI
2851da177e4SLinus Torvalds
28647010c04SMuchun Songconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP
2876be24bedSMuchun Song	def_bool HUGETLB_PAGE
2880b6f1582SAneesh Kumar K.V	depends on ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
2896be24bedSMuchun Song	depends on SPARSEMEM_VMEMMAP
2906be24bedSMuchun Song
291461a7184SYisheng Xieconfig ARCH_HAS_GIGANTIC_PAGE
292461a7184SYisheng Xie	bool
293461a7184SYisheng Xie
2944591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
29562c204ddSLeif Lindholmsource "fs/efivarfs/Kconfig"
2967063fbf2SJoel Becker
2971da177e4SLinus Torvaldsendmenu
2981da177e4SLinus Torvalds
29967ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
30067ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
30167ec7d3aSRandy Dunlap	default y
302a7f7f624SMasahiro Yamada	help
30367ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
30467ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
30567ec7d3aSRandy Dunlap	  operating systems.
30667ec7d3aSRandy Dunlap
30767ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
30867ec7d3aSRandy Dunlap
30967ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
31067ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
31167ec7d3aSRandy Dunlap
31267ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
3131da177e4SLinus Torvalds
31407f01962SMike Marshallsource "fs/orangefs/Kconfig"
315bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
31610951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
317295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
318b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
319b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
3200b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
3210ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
322571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
32331db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
3240d7eff87SArtem Bityutskiy# UBIFS File system configuration
3250d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
3262a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
32722635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
32822135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
3298b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
330da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
331928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
3324c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
3335d026c72SKai Bankettsource "fs/qnx6/Kconfig"
33441810246SAlexey Dobriyansource "fs/romfs/Kconfig"
335ca01d6ddSTony Lucksource "fs/pstore/Kconfig"
3368af915baSAlexey Dobriyansource "fs/sysv/Kconfig"
337a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
33847e4937aSGao Xiangsource "fs/erofs/Kconfig"
3390fd16957SHans de Goedesource "fs/vboxsf/Kconfig"
3400c4fb877SRyusuke Konishi
34167ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
3421da177e4SLinus Torvalds
343ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
344ea0985adSJan Engelhardt	bool "Network File Systems"
345ea0985adSJan Engelhardt	default y
3461da177e4SLinus Torvalds	depends on NET
347a7f7f624SMasahiro Yamada	help
348ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
349ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
350ea0985adSJan Engelhardt	  RPCSEC security modules.
3516fb1bc10SChuck Lever
352ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
353ea0985adSJan Engelhardt
354ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
355ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
356ea0985adSJan Engelhardt
357ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
3581da177e4SLinus Torvalds
35997afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
360e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
3611da177e4SLinus Torvalds
362f7790029SJeff Laytonconfig GRACE_PERIOD
363f7790029SJeff Layton	tristate
364f7790029SJeff Layton
3651da177e4SLinus Torvaldsconfig LOCKD
3661da177e4SLinus Torvalds	tristate
367dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
368f7790029SJeff Layton	select GRACE_PERIOD
3691da177e4SLinus Torvalds
3701da177e4SLinus Torvaldsconfig LOCKD_V4
3711da177e4SLinus Torvalds	bool
3725f9a62ffSChuck Lever	depends on NFSD || NFS_V3
373dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
3741da177e4SLinus Torvalds	default y
3751da177e4SLinus Torvalds
376a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
377a257cdd0SAndreas Gruenbacher	tristate
378a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
379a257cdd0SAndreas Gruenbacher
380a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
381a257cdd0SAndreas Gruenbacher	bool
382f7790029SJeff Layton	depends on NFSD || NFS_FS || LOCKD
383a257cdd0SAndreas Gruenbacher	default y
384a257cdd0SAndreas Gruenbacher
385*2a33a85bSMike Snitzerconfig NFS_COMMON_LOCALIO_SUPPORT
386*2a33a85bSMike Snitzer	tristate
387*2a33a85bSMike Snitzer	default n
388*2a33a85bSMike Snitzer	default y if NFSD=y || NFS_FS=y
389*2a33a85bSMike Snitzer	default m if NFSD=m && NFS_FS=m
390*2a33a85bSMike Snitzer	select SUNRPC
391*2a33a85bSMike Snitzer
392*2a33a85bSMike Snitzerconfig NFS_LOCALIO
393*2a33a85bSMike Snitzer	bool "NFS client and server support for LOCALIO auxiliary protocol"
394*2a33a85bSMike Snitzer	depends on NFSD && NFS_FS
395*2a33a85bSMike Snitzer	select NFS_COMMON_LOCALIO_SUPPORT
396*2a33a85bSMike Snitzer	default n
397*2a33a85bSMike Snitzer	help
398*2a33a85bSMike Snitzer	  Some NFS servers support an auxiliary NFS LOCALIO protocol
399*2a33a85bSMike Snitzer	  that is not an official part of the NFS protocol.
400*2a33a85bSMike Snitzer
401*2a33a85bSMike Snitzer	  This option enables support for the LOCALIO protocol in the
402*2a33a85bSMike Snitzer	  kernel's NFS server and client. Enable this to permit local
403*2a33a85bSMike Snitzer	  NFS clients to bypass the network when issuing reads and
404*2a33a85bSMike Snitzer	  writes to the local NFS server.
405*2a33a85bSMike Snitzer
406*2a33a85bSMike Snitzer	  If unsure, say N.
407*2a33a85bSMike Snitzer
40802591f9fSDai Ngoconfig NFS_V4_2_SSC_HELPER
409d9092b4bSDai Ngo	bool
410d9092b4bSDai Ngo	default y if NFS_V4_2
41102591f9fSDai Ngo
4129098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
4139030aaf9SSage Weilsource "fs/ceph/Kconfig"
41471c02863SRonnie Sahlberg
41538c8a9a5SSteve Frenchsource "fs/smb/Kconfig"
41633a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
417b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
4180fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
41993fa58cbSEric Van Hensbergen
420ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
4211da177e4SLinus Torvalds
4221da177e4SLinus Torvaldssource "fs/nls/Kconfig"
423e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
424955405d1SGabriel Krisman Bertazisource "fs/unicode/Kconfig"
4251da177e4SLinus Torvalds
426771b53d0SJens Axboeconfig IO_WQ
427771b53d0SJens Axboe	bool
428771b53d0SJens Axboe
4291da177e4SLinus Torvaldsendmenu
430