xref: /linux/fs/Kconfig (revision 664a231d90aa450f9f6f029bee3a94dd08e1aac6)
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
62f7451598SChristoph Hellwig	depends on ZONE_DEVICE || FS_DAX_LIMITED
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
98569d0365SDan Williams# Selected by DAX drivers that do not expect filesystem DAX to support
99569d0365SDan Williams# get_user_pages() of DAX mappings. I.e. "limited" indicates no support
100569d0365SDan Williams# for fork() of processes with MAP_SHARED mappings or support for
101569d0365SDan Williams# direct-I/O to a DAX mapping.
102569d0365SDan Williamsconfig FS_DAX_LIMITED
103569d0365SDan Williams	bool
104569d0365SDan Williams
10516ebe911SRandy Dunlap# Posix ACL utility routines
10616ebe911SRandy Dunlap#
10716ebe911SRandy Dunlap# Note: Posix ACLs can be implemented without these helpers.  Never use
10816ebe911SRandy Dunlap# this symbol for ifdefs in core code.
10916ebe911SRandy Dunlap#
11016ebe911SRandy Dunlapconfig FS_POSIX_ACL
11116ebe911SRandy Dunlap	def_bool n
11216ebe911SRandy Dunlap
1134199ca77SRandy Dunlapconfig EXPORTFS
11479fead47SJonas Gorski	tristate
1154199ca77SRandy Dunlap
11615d66ac2SBenjamin Coddingtonconfig EXPORTFS_BLOCK_OPS
11715d66ac2SBenjamin Coddington	bool "Enable filesystem export operations for block IO"
11815d66ac2SBenjamin Coddington	help
11915d66ac2SBenjamin Coddington	  This option enables the export operations for a filesystem to support
12015d66ac2SBenjamin Coddington	  external block IO.
12115d66ac2SBenjamin Coddington
122bfcd17a6SThomas Petazzoniconfig FILE_LOCKING
1236a108a14SDavid Rientjes	bool "Enable POSIX file locking API" if EXPERT
124bfcd17a6SThomas Petazzoni	default y
125bfcd17a6SThomas Petazzoni	help
126bfcd17a6SThomas Petazzoni	  This option enables standard file locking support, required
127bfcd17a6SThomas Petazzoni          for filesystems like NFS and for the flock() system
128bfcd17a6SThomas Petazzoni          call. Disabling this option saves about 11k.
129bfcd17a6SThomas Petazzoni
1300b81d077SJaegeuk Kimsource "fs/crypto/Kconfig"
1310b81d077SJaegeuk Kim
132671e67b4SEric Biggerssource "fs/verity/Kconfig"
133671e67b4SEric Biggers
134272eb014SEric Parissource "fs/notify/Kconfig"
1352d9048e2SAmy Griffis
136884d179dSJan Karasource "fs/quota/Kconfig"
1371da177e4SLinus Torvalds
1382a3ae0a1SIan Kentsource "fs/autofs/Kconfig"
1393ef7784eSAlexey Dobriyansource "fs/fuse/Kconfig"
140e9be9d5eSMiklos Szeredisource "fs/overlayfs/Kconfig"
14104578f17SMiklos Szeredi
14206b3db1bSDavid Howellsmenu "Caches"
14306b3db1bSDavid Howells
1443d3c9504SDavid Howellssource "fs/netfs/Kconfig"
1459ae326a6SDavid Howellssource "fs/cachefiles/Kconfig"
14606b3db1bSDavid Howells
14706b3db1bSDavid Howellsendmenu
14806b3db1bSDavid Howells
1499361401eSDavid Howellsif BLOCK
1501da177e4SLinus Torvaldsmenu "CD-ROM/DVD Filesystems"
1511da177e4SLinus Torvalds
152ddfaccd9SAlexey Dobriyansource "fs/isofs/Kconfig"
153ddfaccd9SAlexey Dobriyansource "fs/udf/Kconfig"
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvaldsendmenu
15625fad945SRandy Dunlapendif # BLOCK
1571da177e4SLinus Torvalds
1589361401eSDavid Howellsif BLOCK
159b9d1e2e6SNamjae Jeonmenu "DOS/FAT/EXFAT/NT Filesystems"
1601da177e4SLinus Torvalds
1611c6ace01SAlexey Dobriyansource "fs/fat/Kconfig"
162b9d1e2e6SNamjae Jeonsource "fs/exfat/Kconfig"
1636e5be40dSKonstantin Komarovsource "fs/ntfs3/Kconfig"
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsendmenu
16625fad945SRandy Dunlapendif # BLOCK
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvaldsmenu "Pseudo filesystems"
1691da177e4SLinus Torvalds
1706eedf8d3SAlexey Dobriyansource "fs/proc/Kconfig"
171ba341d55STejun Heosource "fs/kernfs/Kconfig"
1725f3a211aSAlexey Dobriyansource "fs/sysfs/Kconfig"
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsconfig TMPFS
175f5fc870dSRobert P. J. Day	bool "Tmpfs virtual memory file system support (former shm fs)"
1763f96b79aSHugh Dickins	depends on SHMEM
177626e98cbSThomas Weißschuh	select MEMFD_CREATE
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  Tmpfs is a file system which keeps all files in virtual memory.
1801da177e4SLinus Torvalds
1811da177e4SLinus Torvalds	  Everything in tmpfs is temporary in the sense that no files will be
1821da177e4SLinus Torvalds	  created on your hard drive. The files live in memory and swap
1831da177e4SLinus Torvalds	  space. If you unmount a tmpfs instance, everything stored therein is
1841da177e4SLinus Torvalds	  lost.
1851da177e4SLinus Torvalds
1860c1bc6b8SMauro Carvalho Chehab	  See <file:Documentation/filesystems/tmpfs.rst> for details.
1871da177e4SLinus Torvalds
1884db70f73SEric Parisconfig TMPFS_POSIX_ACL
1894db70f73SEric Paris	bool "Tmpfs POSIX Access Control Lists"
1904db70f73SEric Paris	depends on TMPFS
1914db70f73SEric Paris	select TMPFS_XATTR
192feda821eSChristoph Hellwig	select FS_POSIX_ACL
1934db70f73SEric Paris	help
194206506ccSRobert P. J. Day	  POSIX Access Control Lists (ACLs) support additional access rights
195206506ccSRobert P. J. Day	  for users and groups beyond the standard owner/group/world scheme,
196206506ccSRobert P. J. Day	  and this option selects support for ACLs specifically for tmpfs
197206506ccSRobert P. J. Day	  filesystems.
198206506ccSRobert P. J. Day
199206506ccSRobert P. J. Day	  If you've selected TMPFS, it's possible that you'll also need
200206506ccSRobert P. J. Day	  this option as there are a number of Linux distros that require
201206506ccSRobert P. J. Day	  POSIX ACL support under /dev for certain features to work properly.
202206506ccSRobert P. J. Day	  For example, some distros need this feature for ALSA-related /dev
203206506ccSRobert P. J. Day	  files for sound to work properly.  In short, if you're not sure,
204206506ccSRobert P. J. Day	  say Y.
2054db70f73SEric Paris
206b09e0fa4SEric Parisconfig TMPFS_XATTR
207b09e0fa4SEric Paris	bool "Tmpfs extended attributes"
208b09e0fa4SEric Paris	depends on TMPFS
209b09e0fa4SEric Paris	default n
210b09e0fa4SEric Paris	help
211b09e0fa4SEric Paris	  Extended attributes are name:value pairs associated with inodes by
21291581e4cSAdam Borowski	  the kernel or by users (see the attr(5) manual page for details).
213b09e0fa4SEric Paris
2142daf18a7SHugh Dickins	  This enables support for the trusted.*, security.* and user.*
2152daf18a7SHugh Dickins	  namespaces.
216b09e0fa4SEric Paris
217b09e0fa4SEric Paris	  You need this for POSIX ACL support on tmpfs.
218b09e0fa4SEric Paris
2194db70f73SEric Paris	  If unsure, say N.
22039f0247dSAndreas Gruenbacher
221ea3271f7SChris Downconfig TMPFS_INODE64
222ea3271f7SChris Down	bool "Use 64-bit ino_t by default in tmpfs"
223d0ed78e1SHeiko Carstens	depends on TMPFS && 64BIT
224ea3271f7SChris Down	default n
225ea3271f7SChris Down	help
226ea3271f7SChris Down	  tmpfs has historically used only inode numbers as wide as an unsigned
227ea3271f7SChris Down	  int. In some cases this can cause wraparound, potentially resulting
228ea3271f7SChris Down	  in multiple files with the same inode number on a single device. This
229ea3271f7SChris Down	  option makes tmpfs use the full width of ino_t by default, without
230ea3271f7SChris Down	  needing to specify the inode64 option when mounting.
231ea3271f7SChris Down
232ea3271f7SChris Down	  But if a long-lived tmpfs is to be accessed by 32-bit applications so
233ea3271f7SChris Down	  ancient that opening a file larger than 2GiB fails with EINVAL, then
234ea3271f7SChris Down	  the INODE64 config option and inode64 mount option risk operations
235ea3271f7SChris Down	  failing with EOVERFLOW once 33-bit inode numbers are reached.
236ea3271f7SChris Down
237ea3271f7SChris Down	  To override this configured default, use the inode32 or inode64
238ea3271f7SChris Down	  option when mounting.
239ea3271f7SChris Down
240ea3271f7SChris Down	  If unsure, say N.
241ea3271f7SChris Down
242eafc474eSCarlos Maiolinoconfig TMPFS_QUOTA
243eafc474eSCarlos Maiolino	bool "Tmpfs quota support"
244eafc474eSCarlos Maiolino	depends on TMPFS
245eafc474eSCarlos Maiolino	select QUOTA
246eafc474eSCarlos Maiolino	help
247eafc474eSCarlos Maiolino	  Quota support allows to set per user and group limits for tmpfs
248eafc474eSCarlos Maiolino	  usage.  Say Y to enable quota support. Once enabled you can control
249eafc474eSCarlos Maiolino	  user and group quota enforcement with quota, usrquota and grpquota
250eafc474eSCarlos Maiolino	  mount options.
251eafc474eSCarlos Maiolino
252eafc474eSCarlos Maiolino	  If unsure, say N.
253eafc474eSCarlos Maiolino
254855f9a8eSAnshuman Khandualconfig ARCH_SUPPORTS_HUGETLBFS
255855f9a8eSAnshuman Khandual	def_bool n
256855f9a8eSAnshuman Khandual
257cddba0afSPeter Xumenuconfig HUGETLBFS
2581da177e4SLinus Torvalds	bool "HugeTLB file system support"
259cf8e8658SArd Biesheuvel	depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
260f8142cf9SMiaohe Lin	depends on (SYSFS || SYSCTL)
261626e98cbSThomas Weißschuh	select MEMFD_CREATE
26226d1dc6bSGang Li	select PADATA if SMP
263dda27d1aSArthur Othieno	help
264dda27d1aSArthur Othieno	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
265dda27d1aSArthur Othieno	  ramfs. For architectures that support it, say Y here and read
2661ad1335dSMike Rapoport	  <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details.
267dda27d1aSArthur Othieno
268dda27d1aSArthur Othieno	  If unsure, say N.
2691da177e4SLinus Torvalds
270cddba0afSPeter Xuif HUGETLBFS
271cddba0afSPeter Xuconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON
272cddba0afSPeter Xu	bool "HugeTLB Vmemmap Optimization (HVO) defaults to on"
273cddba0afSPeter Xu	default n
274cddba0afSPeter Xu	depends on HUGETLB_PAGE_OPTIMIZE_VMEMMAP
275cddba0afSPeter Xu	help
276cddba0afSPeter Xu	  The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to
277cddba0afSPeter Xu	  enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off
278cddba0afSPeter Xu	  (boot command line) or hugetlb_optimize_vmemmap (sysctl).
279cddba0afSPeter Xuendif # HUGETLBFS
280cddba0afSPeter Xu
2811da177e4SLinus Torvaldsconfig HUGETLB_PAGE
2821da177e4SLinus Torvalds	def_bool HUGETLBFS
2834a3ef6beSSidhartha Kumar	select XARRAY_MULTI
2841da177e4SLinus Torvalds
28547010c04SMuchun Songconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP
2866be24bedSMuchun Song	def_bool HUGETLB_PAGE
2870b6f1582SAneesh Kumar K.V	depends on ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
2886be24bedSMuchun Song	depends on SPARSEMEM_VMEMMAP
289d65917c4SFrank van der Linden	select SPARSEMEM_VMEMMAP_PREINIT if ARCH_WANT_HUGETLB_VMEMMAP_PREINIT
2906be24bedSMuchun Song
291188cac58SDavid Hildenbrandconfig HUGETLB_PMD_PAGE_TABLE_SHARING
292188cac58SDavid Hildenbrand	def_bool HUGETLB_PAGE
293188cac58SDavid Hildenbrand	depends on ARCH_WANT_HUGE_PMD_SHARE && SPLIT_PMD_PTLOCKS
294188cac58SDavid Hildenbrand
295461a7184SYisheng Xieconfig ARCH_HAS_GIGANTIC_PAGE
296461a7184SYisheng Xie	bool
297461a7184SYisheng Xie
2984591dabeSAlexey Dobriyansource "fs/configfs/Kconfig"
29962c204ddSLeif Lindholmsource "fs/efivarfs/Kconfig"
3007063fbf2SJoel Becker
3011da177e4SLinus Torvaldsendmenu
3021da177e4SLinus Torvalds
30367ec7d3aSRandy Dunlapmenuconfig MISC_FILESYSTEMS
30467ec7d3aSRandy Dunlap	bool "Miscellaneous filesystems"
30567ec7d3aSRandy Dunlap	default y
306a7f7f624SMasahiro Yamada	help
30767ec7d3aSRandy Dunlap	  Say Y here to get to see options for various miscellaneous
30867ec7d3aSRandy Dunlap	  filesystems, such as filesystems that came from other
30967ec7d3aSRandy Dunlap	  operating systems.
31067ec7d3aSRandy Dunlap
31167ec7d3aSRandy Dunlap	  This option alone does not add any kernel code.
31267ec7d3aSRandy Dunlap
31367ec7d3aSRandy Dunlap	  If you say N, all options in this submenu will be skipped and
31467ec7d3aSRandy Dunlap	  disabled; if unsure, say Y here.
31567ec7d3aSRandy Dunlap
31667ec7d3aSRandy Dunlapif MISC_FILESYSTEMS
3171da177e4SLinus Torvalds
31807f01962SMike Marshallsource "fs/orangefs/Kconfig"
319bc2de2aeSAlexey Dobriyansource "fs/adfs/Kconfig"
32010951bf0SAlexey Dobriyansource "fs/affs/Kconfig"
321295c896cSAlexey Dobriyansource "fs/ecryptfs/Kconfig"
322b08bac1fSAlexey Dobriyansource "fs/hfs/Kconfig"
323b08bac1fSAlexey Dobriyansource "fs/hfsplus/Kconfig"
3240b09eb32SAlexey Dobriyansource "fs/befs/Kconfig"
3250ff42384SAlexey Dobriyansource "fs/bfs/Kconfig"
326571f0a0bSAlexey Dobriyansource "fs/efs/Kconfig"
32731db6e9eSAlexey Dobriyansource "fs/jffs2/Kconfig"
3280d7eff87SArtem Bityutskiy# UBIFS File system configuration
3290d7eff87SArtem Bityutskiysource "fs/ubifs/Kconfig"
3302a22783bSAlexey Dobriyansource "fs/cramfs/Kconfig"
33122635ec9SAlexey Dobriyansource "fs/squashfs/Kconfig"
33222135169SAlexey Dobriyansource "fs/freevxfs/Kconfig"
3338b1cd7d3SAlexey Dobriyansource "fs/minix/Kconfig"
334da55e6f9SAlexey Dobriyansource "fs/omfs/Kconfig"
335928ea192SAlexey Dobriyansource "fs/hpfs/Kconfig"
3364c741583SAlexey Dobriyansource "fs/qnx4/Kconfig"
3375d026c72SKai Bankettsource "fs/qnx6/Kconfig"
338*bff70402SJames Morsesource "fs/resctrl/Kconfig"
33941810246SAlexey Dobriyansource "fs/romfs/Kconfig"
340ca01d6ddSTony Lucksource "fs/pstore/Kconfig"
341a276a52fSAlexey Dobriyansource "fs/ufs/Kconfig"
34247e4937aSGao Xiangsource "fs/erofs/Kconfig"
3430fd16957SHans de Goedesource "fs/vboxsf/Kconfig"
3440c4fb877SRyusuke Konishi
34567ec7d3aSRandy Dunlapendif # MISC_FILESYSTEMS
3461da177e4SLinus Torvalds
347ea0985adSJan Engelhardtmenuconfig NETWORK_FILESYSTEMS
348ea0985adSJan Engelhardt	bool "Network File Systems"
349ea0985adSJan Engelhardt	default y
3501da177e4SLinus Torvalds	depends on NET
351a7f7f624SMasahiro Yamada	help
352ea0985adSJan Engelhardt	  Say Y here to get to see options for network filesystems and
353ea0985adSJan Engelhardt	  filesystem-related networking code, such as NFS daemon and
354ea0985adSJan Engelhardt	  RPCSEC security modules.
3556fb1bc10SChuck Lever
356ea0985adSJan Engelhardt	  This option alone does not add any kernel code.
357ea0985adSJan Engelhardt
358ea0985adSJan Engelhardt	  If you say N, all options in this submenu will be skipped and
359ea0985adSJan Engelhardt	  disabled; if unsure, say Y here.
360ea0985adSJan Engelhardt
361ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS
3621da177e4SLinus Torvalds
36397afe47aSAlexey Dobriyansource "fs/nfs/Kconfig"
364e2b329e2SAlexey Dobriyansource "fs/nfsd/Kconfig"
3651da177e4SLinus Torvalds
366f7790029SJeff Laytonconfig GRACE_PERIOD
367f7790029SJeff Layton	tristate
368f7790029SJeff Layton
3691da177e4SLinus Torvaldsconfig LOCKD
3701da177e4SLinus Torvalds	tristate
371dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
372cd35b6cbSEric Biggers	select CRC32
373f7790029SJeff Layton	select GRACE_PERIOD
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvaldsconfig LOCKD_V4
3761da177e4SLinus Torvalds	bool
3775f9a62ffSChuck Lever	depends on NFSD || NFS_V3
378dd4dc82dSRandy Dunlap	depends on FILE_LOCKING
3791da177e4SLinus Torvalds	default y
3801da177e4SLinus Torvalds
381a257cdd0SAndreas Gruenbacherconfig NFS_ACL_SUPPORT
382a257cdd0SAndreas Gruenbacher	tristate
383a257cdd0SAndreas Gruenbacher	select FS_POSIX_ACL
384a257cdd0SAndreas Gruenbacher
385a257cdd0SAndreas Gruenbacherconfig NFS_COMMON
386a257cdd0SAndreas Gruenbacher	bool
387f7790029SJeff Layton	depends on NFSD || NFS_FS || LOCKD
388a257cdd0SAndreas Gruenbacher	default y
389a257cdd0SAndreas Gruenbacher
3902a33a85bSMike Snitzerconfig NFS_COMMON_LOCALIO_SUPPORT
3912a33a85bSMike Snitzer	tristate
392009b15b5SMike Snitzer	depends on NFS_LOCALIO
3932a33a85bSMike Snitzer	default y if NFSD=y || NFS_FS=y
3942a33a85bSMike Snitzer	default m if NFSD=m && NFS_FS=m
3952a33a85bSMike Snitzer	select SUNRPC
3962a33a85bSMike Snitzer
3972a33a85bSMike Snitzerconfig NFS_LOCALIO
3982a33a85bSMike Snitzer	bool "NFS client and server support for LOCALIO auxiliary protocol"
3992a33a85bSMike Snitzer	depends on NFSD && NFS_FS
4002a33a85bSMike Snitzer	select NFS_COMMON_LOCALIO_SUPPORT
4012a33a85bSMike Snitzer	default n
4022a33a85bSMike Snitzer	help
4032a33a85bSMike Snitzer	  Some NFS servers support an auxiliary NFS LOCALIO protocol
4042a33a85bSMike Snitzer	  that is not an official part of the NFS protocol.
4052a33a85bSMike Snitzer
4062a33a85bSMike Snitzer	  This option enables support for the LOCALIO protocol in the
4072a33a85bSMike Snitzer	  kernel's NFS server and client. Enable this to permit local
4082a33a85bSMike Snitzer	  NFS clients to bypass the network when issuing reads and
4092a33a85bSMike Snitzer	  writes to the local NFS server.
4102a33a85bSMike Snitzer
4112a33a85bSMike Snitzer	  If unsure, say N.
4122a33a85bSMike Snitzer
41302591f9fSDai Ngoconfig NFS_V4_2_SSC_HELPER
414d9092b4bSDai Ngo	bool
415d9092b4bSDai Ngo	default y if NFS_V4_2
41602591f9fSDai Ngo
4179098c24fSAlexey Dobriyansource "net/sunrpc/Kconfig"
4189030aaf9SSage Weilsource "fs/ceph/Kconfig"
41971c02863SRonnie Sahlberg
42038c8a9a5SSteve Frenchsource "fs/smb/Kconfig"
42133a1a6feSAlexey Dobriyansource "fs/coda/Kconfig"
422b2480c7fSAlexey Dobriyansource "fs/afs/Kconfig"
4230fcb4408SAlexey Dobriyansource "fs/9p/Kconfig"
42493fa58cbSEric Van Hensbergen
425ea0985adSJan Engelhardtendif # NETWORK_FILESYSTEMS
4261da177e4SLinus Torvalds
4271da177e4SLinus Torvaldssource "fs/nls/Kconfig"
428e7fd4179SDavid Teiglandsource "fs/dlm/Kconfig"
429955405d1SGabriel Krisman Bertazisource "fs/unicode/Kconfig"
4301da177e4SLinus Torvalds
431771b53d0SJens Axboeconfig IO_WQ
432771b53d0SJens Axboe	bool
433771b53d0SJens Axboe
4341da177e4SLinus Torvaldsendmenu
435