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/jfs/Kconfig" 47f5c77969SAlexey Dobriyan 481da177e4SLinus Torvaldssource "fs/xfs/Kconfig" 4969050eeeSTomas Szepesource "fs/gfs2/Kconfig" 5069050eeeSTomas Szepesource "fs/ocfs2/Kconfig" 5169050eeeSTomas Szepesource "fs/btrfs/Kconfig" 5269050eeeSTomas Szepesource "fs/nilfs2/Kconfig" 5341f4db0fSRyusuke Konishisource "fs/f2fs/Kconfig" 54d7196c5aSJaegeuk Kimsource "fs/zonefs/Kconfig" 551c6fdbd8SKent Overstreet 568dcc1a9dSDamien Le Moalendif # BLOCK 5769050eeeSTomas Szepe 58b842f1d1SChristoph Hellwigconfig FS_DAX 59b842f1d1SChristoph Hellwig bool "File system based Direct Access (DAX) support" 606cd176a5SMatthew Wilcox depends on MMU 616c97ec17SChristoph Hellwig depends on ZONE_DEVICE 626cd176a5SMatthew Wilcox select FS_IOMAP 63f7451598SChristoph Hellwig select DAX 646affb9d7SRoss Zwisler help 65ef510424SDan Williams 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 686cd176a5SMatthew Wilcox on this option will compile in support for DAX. 696cd176a5SMatthew Wilcox 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. 856c97ec17SChristoph Hellwig 866c97ec17SChristoph Hellwig 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 906cd176a5SMatthew Wilcoxconfig FS_DAX_PMD 916cd176a5SMatthew Wilcox bool 92ee82c9edSDan Williams default FS_DAX 93ee82c9edSDan Williams depends on FS_DAX 94ee82c9edSDan Williams depends on ZONE_DEVICE 95ee82c9edSDan Williams depends on TRANSPARENT_HUGEPAGE 96c046c321SDan Williams 97c046c321SDan Williams# Posix ACL utility routines 98ee82c9edSDan Williams# 99569d0365SDan Williams# Note: Posix ACLs can be implemented without these helpers. Never use 100569d0365SDan Williams# this symbol for ifdefs in core code. 101569d0365SDan Williams# 102569d0365SDan Williamsconfig FS_POSIX_ACL 103569d0365SDan Williams def_bool n 104569d0365SDan Williams 105569d0365SDan Williamsconfig EXPORTFS 10616ebe911SRandy Dunlap tristate 10716ebe911SRandy Dunlap 10816ebe911SRandy Dunlapconfig EXPORTFS_BLOCK_OPS 10916ebe911SRandy Dunlap bool "Enable filesystem export operations for block IO" 11016ebe911SRandy Dunlap help 11116ebe911SRandy Dunlap This option enables the export operations for a filesystem to support 11216ebe911SRandy Dunlap external block IO. 11316ebe911SRandy Dunlap 1144199ca77SRandy Dunlapconfig FILE_LOCKING 11579fead47SJonas Gorski bool "Enable POSIX file locking API" if EXPERT 1164199ca77SRandy Dunlap default y 11715d66ac2SBenjamin Coddington help 11815d66ac2SBenjamin Coddington This option enables standard file locking support, required 11915d66ac2SBenjamin Coddington for filesystems like NFS and for the flock() system 12015d66ac2SBenjamin Coddington call. Disabling this option saves about 11k. 12115d66ac2SBenjamin Coddington 12215d66ac2SBenjamin Coddingtonsource "fs/crypto/Kconfig" 123bfcd17a6SThomas Petazzoni 1246a108a14SDavid Rientjessource "fs/verity/Kconfig" 125bfcd17a6SThomas Petazzoni 126bfcd17a6SThomas Petazzonisource "fs/notify/Kconfig" 127bfcd17a6SThomas Petazzoni 128bfcd17a6SThomas Petazzonisource "fs/quota/Kconfig" 129bfcd17a6SThomas Petazzoni 130bfcd17a6SThomas Petazzonisource "fs/autofs/Kconfig" 1310b81d077SJaegeuk Kimsource "fs/fuse/Kconfig" 1320b81d077SJaegeuk Kimsource "fs/overlayfs/Kconfig" 133671e67b4SEric Biggers 134671e67b4SEric Biggersmenu "Caches" 135272eb014SEric Paris 1362d9048e2SAmy Griffissource "fs/netfs/Kconfig" 137884d179dSJan Karasource "fs/cachefiles/Kconfig" 1381da177e4SLinus Torvalds 1392a3ae0a1SIan Kentendmenu 1403ef7784eSAlexey Dobriyan 141e9be9d5eSMiklos Szerediif BLOCK 14204578f17SMiklos Szeredimenu "CD-ROM/DVD Filesystems" 14306b3db1bSDavid Howells 14406b3db1bSDavid Howellssource "fs/isofs/Kconfig" 1453d3c9504SDavid Howellssource "fs/udf/Kconfig" 1469ae326a6SDavid Howells 14706b3db1bSDavid Howellsendmenu 14806b3db1bSDavid Howellsendif # BLOCK 14906b3db1bSDavid Howells 1509361401eSDavid Howellsif BLOCK 1511da177e4SLinus Torvaldsmenu "DOS/FAT/EXFAT/NT Filesystems" 1521da177e4SLinus Torvalds 153ddfaccd9SAlexey Dobriyansource "fs/fat/Kconfig" 154ddfaccd9SAlexey Dobriyansource "fs/exfat/Kconfig" 1551da177e4SLinus Torvaldssource "fs/ntfs3/Kconfig" 1561da177e4SLinus Torvalds 15725fad945SRandy Dunlapendmenu 1581da177e4SLinus Torvaldsendif # BLOCK 1599361401eSDavid Howells 160b9d1e2e6SNamjae Jeonmenu "Pseudo filesystems" 1611da177e4SLinus Torvalds 1621c6ace01SAlexey Dobriyansource "fs/proc/Kconfig" 163b9d1e2e6SNamjae Jeonsource "fs/kernfs/Kconfig" 1646e5be40dSKonstantin Komarovsource "fs/sysfs/Kconfig" 1651da177e4SLinus Torvalds 1661da177e4SLinus Torvaldsconfig TMPFS 16725fad945SRandy Dunlap bool "Tmpfs virtual memory file system support (former shm fs)" 1681da177e4SLinus Torvalds depends on SHMEM 1691da177e4SLinus Torvalds select MEMFD_CREATE 1701da177e4SLinus Torvalds help 1716eedf8d3SAlexey Dobriyan Tmpfs is a file system which keeps all files in virtual memory. 172ba341d55STejun Heo 1735f3a211aSAlexey Dobriyan 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 176f5fc870dSRobert P. J. Day lost. 1773f96b79aSHugh Dickins 178626e98cbSThomas Weißschuh See <file:Documentation/filesystems/tmpfs.rst> for details. 1791da177e4SLinus Torvalds 1801da177e4SLinus Torvaldsconfig TMPFS_POSIX_ACL 1811da177e4SLinus Torvalds bool "Tmpfs POSIX Access Control Lists" 1821da177e4SLinus Torvalds depends on TMPFS 1831da177e4SLinus Torvalds select TMPFS_XATTR 1841da177e4SLinus Torvalds select FS_POSIX_ACL 1851da177e4SLinus Torvalds help 1861da177e4SLinus Torvalds POSIX Access Control Lists (ACLs) support additional access rights 1870c1bc6b8SMauro Carvalho Chehab for users and groups beyond the standard owner/group/world scheme, 1881da177e4SLinus Torvalds and this option selects support for ACLs specifically for tmpfs 1894db70f73SEric Paris filesystems. 1904db70f73SEric Paris 1914db70f73SEric Paris If you've selected TMPFS, it's possible that you'll also need 1924db70f73SEric Paris this option as there are a number of Linux distros that require 193feda821eSChristoph Hellwig POSIX ACL support under /dev for certain features to work properly. 1944db70f73SEric Paris 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. 197206506ccSRobert P. J. Day 198206506ccSRobert P. J. Dayconfig TMPFS_XATTR 199206506ccSRobert P. J. Day bool "Tmpfs extended attributes" 200206506ccSRobert P. J. Day depends on TMPFS 201206506ccSRobert P. J. Day default n 202206506ccSRobert P. J. Day help 203206506ccSRobert P. J. Day Extended attributes are name:value pairs associated with inodes by 204206506ccSRobert P. J. Day the kernel or by users (see the attr(5) manual page for details). 205206506ccSRobert P. J. Day 2064db70f73SEric Paris This enables support for the trusted.*, security.* and user.* 207b09e0fa4SEric Paris namespaces. 208b09e0fa4SEric Paris 209b09e0fa4SEric Paris You need this for POSIX ACL support on tmpfs. 210b09e0fa4SEric Paris 211b09e0fa4SEric Paris If unsure, say N. 212b09e0fa4SEric Paris 21391581e4cSAdam Borowskiconfig TMPFS_INODE64 214b09e0fa4SEric Paris bool "Use 64-bit ino_t by default in tmpfs" 2152daf18a7SHugh Dickins depends on TMPFS && 64BIT 2162daf18a7SHugh Dickins default n 217b09e0fa4SEric Paris help 218b09e0fa4SEric Paris tmpfs has historically used only inode numbers as wide as an unsigned 219b09e0fa4SEric Paris int. In some cases this can cause wraparound, potentially resulting 2204db70f73SEric Paris in multiple files with the same inode number on a single device. This 22139f0247dSAndreas Gruenbacher 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 224d0ed78e1SHeiko Carstens 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 234ea3271f7SChris Downconfig TMPFS_QUOTA 235ea3271f7SChris Down bool "Tmpfs quota support" 236ea3271f7SChris Down depends on TMPFS 237ea3271f7SChris Down select QUOTA 238ea3271f7SChris Down help 239ea3271f7SChris Down Quota support allows to set per user and group limits for tmpfs 240ea3271f7SChris Down usage. Say Y to enable quota support. Once enabled you can control 241ea3271f7SChris Down user and group quota enforcement with quota, usrquota and grpquota 242ea3271f7SChris Down mount options. 243eafc474eSCarlos Maiolino 244eafc474eSCarlos Maiolino If unsure, say N. 245eafc474eSCarlos Maiolino 246eafc474eSCarlos Maiolinoconfig ARCH_SUPPORTS_HUGETLBFS 247eafc474eSCarlos Maiolino def_bool n 248eafc474eSCarlos Maiolino 249eafc474eSCarlos Maiolinomenuconfig HUGETLBFS 250eafc474eSCarlos Maiolino bool "HugeTLB file system support" 251eafc474eSCarlos Maiolino depends on ARCH_SUPPORTS_HUGETLBFS 252eafc474eSCarlos Maiolino select MEMFD_CREATE 253eafc474eSCarlos Maiolino select PADATA if SMP 254eafc474eSCarlos Maiolino help 255855f9a8eSAnshuman Khandual hugetlbfs is a filesystem backing for HugeTLB pages, based on 256855f9a8eSAnshuman Khandual ramfs. For architectures that support it, say Y here and read 257855f9a8eSAnshuman Khandual <file:Documentation/admin-guide/mm/hugetlbpage.rst> for details. 258cddba0afSPeter Xu 2591da177e4SLinus Torvalds If unsure, say N. 260cf8e8658SArd Biesheuvel 261f8142cf9SMiaohe Linif HUGETLBFS 262626e98cbSThomas Weißschuhconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON 263*26d1dc6bSGang Li bool "HugeTLB Vmemmap Optimization (HVO) defaults to on" 264dda27d1aSArthur Othieno default n 265dda27d1aSArthur Othieno depends on HUGETLB_PAGE_OPTIMIZE_VMEMMAP 266dda27d1aSArthur Othieno help 2671ad1335dSMike Rapoport The HugeTLB Vmemmap Optimization (HVO) defaults to off. Say Y here to 268dda27d1aSArthur Othieno enable HVO by default. It can be disabled via hugetlb_free_vmemmap=off 269dda27d1aSArthur Othieno (boot command line) or hugetlb_optimize_vmemmap (sysctl). 2701da177e4SLinus Torvaldsendif # HUGETLBFS 271cddba0afSPeter Xu 272cddba0afSPeter Xuconfig HUGETLB_PAGE 273cddba0afSPeter Xu def_bool HUGETLBFS 274cddba0afSPeter Xu select XARRAY_MULTI 275cddba0afSPeter Xu 276cddba0afSPeter Xuconfig HUGETLB_PAGE_OPTIMIZE_VMEMMAP 277cddba0afSPeter Xu def_bool HUGETLB_PAGE 278cddba0afSPeter Xu depends on ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP 279cddba0afSPeter Xu depends on SPARSEMEM_VMEMMAP 280cddba0afSPeter Xu select SPARSEMEM_VMEMMAP_PREINIT if ARCH_WANT_HUGETLB_VMEMMAP_PREINIT 281cddba0afSPeter Xu 2821da177e4SLinus Torvaldsconfig HUGETLB_PMD_PAGE_TABLE_SHARING 2831da177e4SLinus Torvalds def_bool HUGETLB_PAGE 2844a3ef6beSSidhartha Kumar depends on ARCH_WANT_HUGE_PMD_SHARE && SPLIT_PMD_PTLOCKS 2851da177e4SLinus Torvalds 28647010c04SMuchun Songconfig ARCH_HAS_GIGANTIC_PAGE 2876be24bedSMuchun Song bool 2880b6f1582SAneesh Kumar K.V 2896be24bedSMuchun Songsource "fs/configfs/Kconfig" 2906be24bedSMuchun Songsource "fs/efivarfs/Kconfig" 291461a7184SYisheng Xie 292461a7184SYisheng Xieendmenu 293461a7184SYisheng Xie 2944591dabeSAlexey Dobriyanmenuconfig MISC_FILESYSTEMS 29562c204ddSLeif Lindholm bool "Miscellaneous filesystems" 2967063fbf2SJoel Becker default y 2971da177e4SLinus Torvalds help 2981da177e4SLinus Torvalds 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 302a7f7f624SMasahiro Yamada 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 30867ec7d3aSRandy Dunlap 30967ec7d3aSRandy Dunlapsource "fs/orangefs/Kconfig" 31067ec7d3aSRandy Dunlapsource "fs/adfs/Kconfig" 31167ec7d3aSRandy Dunlapsource "fs/affs/Kconfig" 31267ec7d3aSRandy Dunlapsource "fs/ecryptfs/Kconfig" 3131da177e4SLinus Torvaldssource "fs/hfs/Kconfig" 31407f01962SMike Marshallsource "fs/hfsplus/Kconfig" 315bc2de2aeSAlexey Dobriyansource "fs/befs/Kconfig" 31610951bf0SAlexey Dobriyansource "fs/bfs/Kconfig" 317295c896cSAlexey Dobriyansource "fs/efs/Kconfig" 318b08bac1fSAlexey Dobriyansource "fs/jffs2/Kconfig" 319b08bac1fSAlexey Dobriyan# UBIFS File system configuration 3200b09eb32SAlexey Dobriyansource "fs/ubifs/Kconfig" 3210ff42384SAlexey Dobriyansource "fs/cramfs/Kconfig" 322571f0a0bSAlexey Dobriyansource "fs/squashfs/Kconfig" 32331db6e9eSAlexey Dobriyansource "fs/freevxfs/Kconfig" 3240d7eff87SArtem Bityutskiysource "fs/minix/Kconfig" 3250d7eff87SArtem Bityutskiysource "fs/omfs/Kconfig" 3262a22783bSAlexey Dobriyansource "fs/hpfs/Kconfig" 32722635ec9SAlexey Dobriyansource "fs/qnx4/Kconfig" 32822135169SAlexey Dobriyansource "fs/qnx6/Kconfig" 3298b1cd7d3SAlexey Dobriyansource "fs/resctrl/Kconfig" 330da55e6f9SAlexey Dobriyansource "fs/romfs/Kconfig" 331928ea192SAlexey Dobriyansource "fs/pstore/Kconfig" 3324c741583SAlexey Dobriyansource "fs/ufs/Kconfig" 3335d026c72SKai Bankettsource "fs/erofs/Kconfig" 33441810246SAlexey Dobriyansource "fs/vboxsf/Kconfig" 335ca01d6ddSTony Luck 3368af915baSAlexey Dobriyanendif # MISC_FILESYSTEMS 337a276a52fSAlexey Dobriyan 33847e4937aSGao Xiangmenuconfig NETWORK_FILESYSTEMS 3390fd16957SHans de Goede bool "Network File Systems" 3400c4fb877SRyusuke Konishi default y 34167ec7d3aSRandy Dunlap depends on NET 3421da177e4SLinus Torvalds 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. 3461da177e4SLinus Torvalds 347a7f7f624SMasahiro Yamada 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. 3516fb1bc10SChuck Lever 352ea0985adSJan Engelhardtif NETWORK_FILESYSTEMS 353ea0985adSJan Engelhardt 354ea0985adSJan Engelhardtsource "fs/nfs/Kconfig" 355ea0985adSJan Engelhardtsource "fs/nfsd/Kconfig" 356ea0985adSJan Engelhardt 357ea0985adSJan Engelhardtconfig GRACE_PERIOD 3581da177e4SLinus Torvalds tristate 35997afe47aSAlexey Dobriyan 360e2b329e2SAlexey Dobriyanconfig LOCKD 3611da177e4SLinus Torvalds tristate 362f7790029SJeff Layton depends on FILE_LOCKING 363f7790029SJeff Layton select CRC32 364f7790029SJeff Layton select GRACE_PERIOD 3651da177e4SLinus Torvalds 3661da177e4SLinus Torvaldsconfig LOCKD_V4 367dd4dc82dSRandy Dunlap bool 368f7790029SJeff Layton depends on NFSD || NFS_V3 3691da177e4SLinus Torvalds depends on FILE_LOCKING 3701da177e4SLinus Torvalds default y 3711da177e4SLinus Torvalds 3725f9a62ffSChuck Leverconfig NFS_ACL_SUPPORT 373dd4dc82dSRandy Dunlap tristate 3741da177e4SLinus Torvalds select FS_POSIX_ACL 3751da177e4SLinus Torvalds 376a257cdd0SAndreas Gruenbacherconfig NFS_COMMON 377a257cdd0SAndreas Gruenbacher bool 378a257cdd0SAndreas Gruenbacher depends on NFSD || NFS_FS || LOCKD 379a257cdd0SAndreas Gruenbacher default y 380a257cdd0SAndreas Gruenbacher 381a257cdd0SAndreas Gruenbacherconfig NFS_COMMON_LOCALIO_SUPPORT 382f7790029SJeff Layton tristate 383a257cdd0SAndreas Gruenbacher depends on NFS_LOCALIO 384a257cdd0SAndreas Gruenbacher default y if NFSD=y || NFS_FS=y 38502591f9fSDai Ngo default m if NFSD=m && NFS_FS=m 386d9092b4bSDai Ngo select SUNRPC 387d9092b4bSDai Ngo 38802591f9fSDai Ngoconfig NFS_LOCALIO 3899098c24fSAlexey Dobriyan bool "NFS client and server support for LOCALIO auxiliary protocol" 3909030aaf9SSage Weil depends on NFSD && NFS_FS 39171c02863SRonnie Sahlberg select NFS_COMMON_LOCALIO_SUPPORT 39238c8a9a5SSteve French default n 39333a1a6feSAlexey Dobriyan help 394b2480c7fSAlexey Dobriyan Some NFS servers support an auxiliary NFS LOCALIO protocol 3950fcb4408SAlexey Dobriyan that is not an official part of the NFS protocol. 39693fa58cbSEric Van Hensbergen 397ea0985adSJan Engelhardt This option enables support for the LOCALIO protocol in the 3981da177e4SLinus Torvalds kernel's NFS server and client. Enable this to permit local 3991da177e4SLinus Torvalds NFS clients to bypass the network when issuing reads and 400e7fd4179SDavid Teigland writes to the local NFS server. 401955405d1SGabriel Krisman Bertazi 4021da177e4SLinus Torvalds If unsure, say N. 403771b53d0SJens Axboe 404771b53d0SJens Axboeconfig NFS_V4_2_SSC_HELPER 405771b53d0SJens Axboe bool 4061da177e4SLinus Torvalds default y if NFS_V4_2 407 408source "net/sunrpc/Kconfig" 409source "fs/ceph/Kconfig" 410 411source "fs/smb/Kconfig" 412source "fs/coda/Kconfig" 413source "fs/afs/Kconfig" 414source "fs/9p/Kconfig" 415 416endif # NETWORK_FILESYSTEMS 417 418source "fs/nls/Kconfig" 419source "fs/dlm/Kconfig" 420source "fs/unicode/Kconfig" 421 422config IO_WQ 423 bool 424 425endmenu 426