xref: /linux/fs/Kconfig (revision 8d2b0853add1d7534dc0794e3c8e0b9e8c4ec640)
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"
541c6fdbd8SKent Overstreetsource "fs/bcachefs/Kconfig"
558dcc1a9dSDamien Le Moalsource "fs/zonefs/Kconfig"
5669050eeeSTomas Szepe
57b842f1d1SChristoph Hellwigendif # BLOCK
58b842f1d1SChristoph Hellwig
596cd176a5SMatthew Wilcoxconfig FS_DAX
606c97ec17SChristoph Hellwig	bool "File system based Direct Access (DAX) support"
616cd176a5SMatthew Wilcox	depends on MMU
6228dc88c3SAlistair Popple	depends on ZONE_DEVICE
636affb9d7SRoss Zwisler	select FS_IOMAP
64ef510424SDan Williams	select DAX
656cd176a5SMatthew Wilcox	help
666cd176a5SMatthew Wilcox	  Direct Access (DAX) can be used on memory-backed block devices.
676cd176a5SMatthew Wilcox	  If the block device supports DAX and the filesystem supports DAX,
686cd176a5SMatthew Wilcox	  then you can avoid using the pagecache to buffer I/Os.  Turning
696c97ec17SChristoph Hellwig	  on this option will compile in support for DAX.
706c97ec17SChristoph Hellwig
716c97ec17SChristoph Hellwig	  For a DAX device to support file system access it needs to have
726c97ec17SChristoph Hellwig	  struct pages.  For the nfit based NVDIMMs this can be enabled
736c97ec17SChristoph Hellwig	  using the ndctl utility:
746c97ec17SChristoph Hellwig
756c97ec17SChristoph Hellwig		# ndctl create-namespace --force --reconfig=namespace0.0 \
766c97ec17SChristoph Hellwig			--mode=fsdax --map=mem
776c97ec17SChristoph Hellwig
786c97ec17SChristoph Hellwig	  See the 'create-namespace' man page for details on the overhead of
796c97ec17SChristoph Hellwig	  --map=mem:
806c97ec17SChristoph Hellwig	  https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace
816c97ec17SChristoph Hellwig
826c97ec17SChristoph Hellwig          For ndctl to work CONFIG_DEV_DAX needs to be enabled as well. For most
836c97ec17SChristoph Hellwig	  file systems DAX support needs to be manually enabled globally or
846c97ec17SChristoph Hellwig	  per-inode using a mount option as well.  See the file documentation in
856c97ec17SChristoph Hellwig	  Documentation/filesystems/dax.rst for details.
866cd176a5SMatthew Wilcox
876cd176a5SMatthew Wilcox	  If you do not have a block device that is capable of using this,
886cd176a5SMatthew Wilcox	  or if unsure, say N.  Saying Y will increase the size of the kernel
896cd176a5SMatthew Wilcox	  by about 5kB.
906cd176a5SMatthew Wilcox
91ee82c9edSDan Williamsconfig FS_DAX_PMD
92ee82c9edSDan Williams	bool
93ee82c9edSDan Williams	default FS_DAX
94ee82c9edSDan Williams	depends on FS_DAX
95c046c321SDan Williams	depends on ZONE_DEVICE
96c046c321SDan Williams	depends on TRANSPARENT_HUGEPAGE
97ee82c9edSDan Williams
9816ebe911SRandy Dunlap# Posix ACL utility routines
9916ebe911SRandy Dunlap#
10016ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
10116ebe911SRandy Dunlap# this symbol for ifdefs in core code.
10216ebe911SRandy Dunlap#
10316ebe911SRandy Dunlapconfig FS_POSIX_ACL
10416ebe911SRandy Dunlap	def_bool n
10516ebe911SRandy Dunlap
1064199ca77SRandy Dunlapconfig EXPORTFS
10779fead47SJonas Gorski	tristate
1084199ca77SRandy Dunlap
10915d66ac2SBenjamin Coddingtonconfig EXPORTFS_BLOCK_OPS
11015d66ac2SBenjamin Coddington	bool "Enable filesystem export operations for block IO"
11115d66ac2SBenjamin Coddington	help
11215d66ac2SBenjamin Coddington	  This option enables the export operations for a filesystem to support
11315d66ac2SBenjamin Coddington	  external block IO.
11415d66ac2SBenjamin Coddington
115bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
1166a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
117bfcd17a6SThomas Petazzoni	default y
118bfcd17a6SThomas Petazzoni	help
119bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
120bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
121bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
122bfcd17a6SThomas Petazzoni
1230b81d077SJaegeuk Kimsource "fs/crypto/Kconfig"
1240b81d077SJaegeuk Kim
125671e67b4SEric Biggerssource "fs/verity/Kconfig"
126671e67b4SEric Biggers
127272eb014SEric Parissource "fs/notify/Kconfig"
1282d9048e2SAmy Griffis
129884d179dSJan Karasource "fs/quota/Kconfig"
1301da177e4SLinus Torvalds
1312a3ae0a1SIan Kentsource "fs/autofs/Kconfig"
1323ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
133e9be9d5eSMiklos Szeredisource "fs/overlayfs/Kconfig"
13404578f17SMiklos Szeredi
13506b3db1bSDavid Howellsmenu "Caches"
13606b3db1bSDavid Howells
1373d3c9504SDavid Howellssource "fs/netfs/Kconfig"
1389ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
13906b3db1bSDavid Howells
14006b3db1bSDavid Howellsendmenu
14106b3db1bSDavid Howells
1429361401eSDavid Howellsif BLOCK
1431da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
1441da177e4SLinus Torvalds
145ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
146ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsendmenu
14925fad945SRandy Dunlapendif # BLOCK
1501da177e4SLinus Torvalds
1519361401eSDavid Howellsif BLOCK
152b9d1e2e6SNamjae Jeonmenu "DOS/FAT/EXFAT/NT Filesystems"
1531da177e4SLinus Torvalds
1541c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
155b9d1e2e6SNamjae Jeonsource "fs/exfat/Kconfig"
1566e5be40dSKonstantin Komarovsource "fs/ntfs3/Kconfig"
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvaldsendmenu
15925fad945SRandy Dunlapendif # BLOCK
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1621da177e4SLinus Torvalds
1636eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
164ba341d55STejun Heosource "fs/kernfs/Kconfig"
1655f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig TMPFS
168f5fc870dSRobert P. J. Day	bool "Tmpfs virtual memory file system support (former shm fs)"
1693f96b79aSHugh Dickins	depends on SHMEM
170626e98cbSThomas Weißschuh	select MEMFD_CREATE
1711da177e4SLinus Torvalds	help
1721da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1751da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1761da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1771da177e4SLinus Torvalds	  lost.
1781da177e4SLinus Torvalds
1790c1bc6b8SMauro Carvalho Chehab	  See <file:Documentation/filesystems/tmpfs.rst> for details.
1801da177e4SLinus Torvalds
1814db70f73SEric Parisconfig TMPFS_POSIX_ACL
1824db70f73SEric Paris	bool "Tmpfs POSIX Access Control Lists"
1834db70f73SEric Paris	depends on TMPFS
1844db70f73SEric Paris	select TMPFS_XATTR
185feda821eSChristoph Hellwig	select FS_POSIX_ACL
1864db70f73SEric Paris	help
187206506ccSRobert P. J. Day	  POSIX Access Control Lists (ACLs) support additional access rights
188206506ccSRobert P. J. Day	  for users and groups beyond the standard owner/group/world scheme,
189206506ccSRobert P. J. Day	  and this option selects support for ACLs specifically for tmpfs
190206506ccSRobert P. J. Day	  filesystems.
191206506ccSRobert P. J. Day
192206506ccSRobert P. J. Day	  If you've selected TMPFS, it's possible that you'll also need
193206506ccSRobert P. J. Day	  this option as there are a number of Linux distros that require
194206506ccSRobert P. J. Day	  POSIX ACL support under /dev for certain features to work properly.
195206506ccSRobert P. J. Day	  For example, some distros need this feature for ALSA-related /dev
196206506ccSRobert P. J. Day	  files for sound to work properly.  In short, if you're not sure,
197206506ccSRobert P. J. Day	  say Y.
1984db70f73SEric Paris
199b09e0fa4SEric Parisconfig TMPFS_XATTR
200b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
201b09e0fa4SEric Paris	depends on TMPFS
202b09e0fa4SEric Paris	default n
203b09e0fa4SEric Paris	help
204b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
20591581e4cSAdam Borowski	  the kernel or by users (see the attr(5) manual page for details).
206b09e0fa4SEric Paris
2072daf18a7SHugh Dickins	  This enables support for the trusted.*, security.* and user.*
2082daf18a7SHugh Dickins	  namespaces.
209b09e0fa4SEric Paris
210b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
211b09e0fa4SEric Paris
2124db70f73SEric Paris	  If unsure, say N.
21339f0247dSAndreas Gruenbacher
214ea3271f7SChris Downconfig TMPFS_INODE64
215ea3271f7SChris Down	bool "Use 64-bit ino_t by default in tmpfs"
216d0ed78e1SHeiko Carstens	depends on TMPFS && 64BIT
217ea3271f7SChris Down	default n
218ea3271f7SChris Down	help
219ea3271f7SChris Down	  tmpfs has historically used only inode numbers as wide as an unsigned
220ea3271f7SChris Down	  int. In some cases this can cause wraparound, potentially resulting
221ea3271f7SChris Down	  in multiple files with the same inode number on a single device. This
222ea3271f7SChris Down	  option makes tmpfs use the full width of ino_t by default, without
223ea3271f7SChris Down	  needing to specify the inode64 option when mounting.
224ea3271f7SChris Down
225ea3271f7SChris Down	  But if a long-lived tmpfs is to be accessed by 32-bit applications so
226ea3271f7SChris Down	  ancient that opening a file larger than 2GiB fails with EINVAL, then
227ea3271f7SChris Down	  the INODE64 config option and inode64 mount option risk operations
228ea3271f7SChris Down	  failing with EOVERFLOW once 33-bit inode numbers are reached.
229ea3271f7SChris Down
230ea3271f7SChris Down	  To override this configured default, use the inode32 or inode64
231ea3271f7SChris Down	  option when mounting.
232ea3271f7SChris Down
233ea3271f7SChris Down	  If unsure, say N.
234ea3271f7SChris Down
235eafc474eSCarlos Maiolinoconfig TMPFS_QUOTA
236eafc474eSCarlos Maiolino	bool "Tmpfs quota support"
237eafc474eSCarlos Maiolino	depends on TMPFS
238eafc474eSCarlos Maiolino	select QUOTA
239eafc474eSCarlos Maiolino	help
240eafc474eSCarlos Maiolino	  Quota support allows to set per user and group limits for tmpfs
241eafc474eSCarlos Maiolino	  usage.  Say Y to enable quota support. Once enabled you can control
242eafc474eSCarlos Maiolino	  user and group quota enforcement with quota, usrquota and grpquota
243eafc474eSCarlos Maiolino	  mount options.
244eafc474eSCarlos Maiolino
245eafc474eSCarlos Maiolino	  If unsure, say N.
246eafc474eSCarlos Maiolino
247855f9a8eSAnshuman Khandualconfig ARCH_SUPPORTS_HUGETLBFS
248855f9a8eSAnshuman Khandual	def_bool n
249855f9a8eSAnshuman Khandual
250cddba0afSPeter Xumenuconfig HUGETLBFS
2511da177e4SLinus Torvalds	bool "HugeTLB file system support"
252*6470fb2bSAnshuman Khandual	depends on ARCH_SUPPORTS_HUGETLBFS
253f8142cf9SMiaohe Lin	depends on (SYSFS || SYSCTL)
254626e98cbSThomas Weißschuh	select MEMFD_CREATE
25526d1dc6bSGang Li	select PADATA if SMP
256dda27d1aSArthur Othieno	help
257dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
258dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
2591ad1335dSMike Rapoport	  <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
260dda27d1aSArthur Othieno
261dda27d1aSArthur Othieno	  If unsure, say N.
2621da177e4SLinus Torvalds
263cddba0afSPeter Xuif HUGETLBFS
264cddba0afSPeter Xuconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON
265cddba0afSPeter Xu	bool "HugeTLB Vmemmap Optimization (HVO) defaults to on"
266cddba0afSPeter Xu	default n
267cddba0afSPeter Xu	depends on HUGETLB_PAGE_OPTIMIZE_VMEMMAP
268cddba0afSPeter Xu	help
269cddba0afSPeter Xu	  The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to
270cddba0afSPeter Xu	  enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off
271cddba0afSPeter Xu	  (boot command line) or hugetlb_optimize_vmemmap (sysctl).
272cddba0afSPeter Xuendif # HUGETLBFS
273cddba0afSPeter Xu
2741da177e4SLinus Torvaldsconfig HUGETLB_PAGE
2751da177e4SLinus Torvalds	def_bool HUGETLBFS
2764a3ef6beSSidhartha Kumar	select XARRAY_MULTI
2771da177e4SLinus Torvalds
27847010c04SMuchun Songconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP
2796be24bedSMuchun Song	def_bool HUGETLB_PAGE
2800b6f1582SAneesh Kumar K.V	depends on ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
2816be24bedSMuchun Song	depends on SPARSEMEM_VMEMMAP
282d65917c4SFrank van der Linden	select SPARSEMEM_VMEMMAP_PREINIT if ARCH_WANT_HUGETLB_VMEMMAP_PREINIT
2836be24bedSMuchun Song
284188cac58SDavid Hildenbrandconfig HUGETLB_PMD_PAGE_TABLE_SHARING
285188cac58SDavid Hildenbrand	def_bool HUGETLB_PAGE
286188cac58SDavid Hildenbrand	depends on ARCH_WANT_HUGE_PMD_SHARE && SPLIT_PMD_PTLOCKS
287188cac58SDavid Hildenbrand
288461a7184SYisheng Xieconfig ARCH_HAS_GIGANTIC_PAGE
289461a7184SYisheng Xie	bool
290461a7184SYisheng Xie
2914591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
29262c204ddSLeif Lindholmsource "fs/efivarfs/Kconfig"
2937063fbf2SJoel Becker
2941da177e4SLinus Torvaldsendmenu
2951da177e4SLinus Torvalds
29667ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
29767ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
29867ec7d3aSRandy Dunlap	default y
299a7f7f624SMasahiro Yamada	help
30067ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
30167ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
30267ec7d3aSRandy Dunlap	  operating systems.
30367ec7d3aSRandy Dunlap
30467ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
30567ec7d3aSRandy Dunlap
30667ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
30767ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
30867ec7d3aSRandy Dunlap
30967ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
3101da177e4SLinus Torvalds
31107f01962SMike Marshallsource "fs/orangefs/Kconfig"
312bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
31310951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
314295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
315b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
316b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
3170b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
3180ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
319571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
32031db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
3210d7eff87SArtem Bityutskiy# UBIFS File system configuration
3220d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
3232a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
32422635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
32522135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
3268b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
327da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
328928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
3294c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
3305d026c72SKai Bankettsource "fs/qnx6/Kconfig"
331bff70402SJames Morsesource "fs/resctrl/Kconfig"
33241810246SAlexey Dobriyansource "fs/romfs/Kconfig"
333ca01d6ddSTony Lucksource "fs/pstore/Kconfig"
334a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
33547e4937aSGao Xiangsource "fs/erofs/Kconfig"
3360fd16957SHans de Goedesource "fs/vboxsf/Kconfig"
3370c4fb877SRyusuke Konishi
33867ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
3391da177e4SLinus Torvalds
340ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
341ea0985adSJan Engelhardt	bool "Network File Systems"
342ea0985adSJan Engelhardt	default y
3431da177e4SLinus Torvalds	depends on NET
344a7f7f624SMasahiro Yamada	help
345ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
346ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
347ea0985adSJan Engelhardt	  RPCSEC security modules.
3486fb1bc10SChuck Lever
349ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
350ea0985adSJan Engelhardt
351ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
352ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
353ea0985adSJan Engelhardt
354ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
3551da177e4SLinus Torvalds
35697afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
357e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
3581da177e4SLinus Torvalds
359f7790029SJeff Laytonconfig GRACE_PERIOD
360f7790029SJeff Layton	tristate
361f7790029SJeff Layton
3621da177e4SLinus Torvaldsconfig LOCKD
3631da177e4SLinus Torvalds	tristate
364dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
365cd35b6cbSEric Biggers	select CRC32
366f7790029SJeff Layton	select GRACE_PERIOD
3671da177e4SLinus Torvalds
3681da177e4SLinus Torvaldsconfig LOCKD_V4
3691da177e4SLinus Torvalds	bool
3705f9a62ffSChuck Lever	depends on NFSD || NFS_V3
371dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
3721da177e4SLinus Torvalds	default y
3731da177e4SLinus Torvalds
374a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
375a257cdd0SAndreas Gruenbacher	tristate
376a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
377a257cdd0SAndreas Gruenbacher
378a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
379a257cdd0SAndreas Gruenbacher	bool
380f7790029SJeff Layton	depends on NFSD || NFS_FS || LOCKD
381a257cdd0SAndreas Gruenbacher	default y
382a257cdd0SAndreas Gruenbacher
3832a33a85bSMike Snitzerconfig NFS_COMMON_LOCALIO_SUPPORT
3842a33a85bSMike Snitzer	tristate
385009b15b5SMike Snitzer	depends on NFS_LOCALIO
3862a33a85bSMike Snitzer	default y if NFSD=y || NFS_FS=y
3872a33a85bSMike Snitzer	default m if NFSD=m && NFS_FS=m
3882a33a85bSMike Snitzer	select SUNRPC
3892a33a85bSMike Snitzer
3902a33a85bSMike Snitzerconfig NFS_LOCALIO
3912a33a85bSMike Snitzer	bool "NFS client and server support for LOCALIO auxiliary protocol"
3922a33a85bSMike Snitzer	depends on NFSD && NFS_FS
3932a33a85bSMike Snitzer	select NFS_COMMON_LOCALIO_SUPPORT
3942a33a85bSMike Snitzer	default n
3952a33a85bSMike Snitzer	help
3962a33a85bSMike Snitzer	  Some NFS servers support an auxiliary NFS LOCALIO protocol
3972a33a85bSMike Snitzer	  that is not an official part of the NFS protocol.
3982a33a85bSMike Snitzer
3992a33a85bSMike Snitzer	  This option enables support for the LOCALIO protocol in the
4002a33a85bSMike Snitzer	  kernel's NFS server and client. Enable this to permit local
4012a33a85bSMike Snitzer	  NFS clients to bypass the network when issuing reads and
4022a33a85bSMike Snitzer	  writes to the local NFS server.
4032a33a85bSMike Snitzer
4042a33a85bSMike Snitzer	  If unsure, say N.
4052a33a85bSMike Snitzer
40602591f9fSDai Ngoconfig NFS_V4_2_SSC_HELPER
407d9092b4bSDai Ngo	bool
408d9092b4bSDai Ngo	default y if NFS_V4_2
40902591f9fSDai Ngo
4109098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
4119030aaf9SSage Weilsource "fs/ceph/Kconfig"
41271c02863SRonnie Sahlberg
41338c8a9a5SSteve Frenchsource "fs/smb/Kconfig"
41433a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
415b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
4160fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
41793fa58cbSEric Van Hensbergen
418ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
4191da177e4SLinus Torvalds
4201da177e4SLinus Torvaldssource "fs/nls/Kconfig"
421e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
422955405d1SGabriel Krisman Bertazisource "fs/unicode/Kconfig"
4231da177e4SLinus Torvalds
424771b53d0SJens Axboeconfig IO_WQ
425771b53d0SJens Axboe	bool
426771b53d0SJens Axboe
4271da177e4SLinus Torvaldsendmenu
428