Back to home page

LXR

 
 

    


0001 #
0002 # File system configuration
0003 #
0004 
0005 menu "File systems"
0006 
0007 # Use unaligned word dcache accesses
0008 config DCACHE_WORD_ACCESS
0009        bool
0010 
0011 if BLOCK
0012 
0013 config FS_IOMAP
0014         bool
0015 
0016 source "fs/ext2/Kconfig"
0017 source "fs/ext4/Kconfig"
0018 source "fs/jbd2/Kconfig"
0019 
0020 config FS_MBCACHE
0021 # Meta block cache for Extended Attributes (ext2/ext3/ext4)
0022         tristate
0023         default y if EXT2_FS=y && EXT2_FS_XATTR
0024         default y if EXT4_FS=y
0025         default m if EXT2_FS_XATTR || EXT4_FS
0026 
0027 source "fs/reiserfs/Kconfig"
0028 source "fs/jfs/Kconfig"
0029 
0030 source "fs/xfs/Kconfig"
0031 source "fs/gfs2/Kconfig"
0032 source "fs/ocfs2/Kconfig"
0033 source "fs/btrfs/Kconfig"
0034 source "fs/nilfs2/Kconfig"
0035 source "fs/f2fs/Kconfig"
0036 
0037 config FS_DAX
0038         bool "Direct Access (DAX) support"
0039         depends on MMU
0040         depends on !(ARM || MIPS || SPARC)
0041         select FS_IOMAP
0042         help
0043           Direct Access (DAX) can be used on memory-backed block devices.
0044           If the block device supports DAX and the filesystem supports DAX,
0045           then you can avoid using the pagecache to buffer I/Os.  Turning
0046           on this option will compile in support for DAX; you will need to
0047           mount the filesystem using the -o dax option.
0048 
0049           If you do not have a block device that is capable of using this,
0050           or if unsure, say N.  Saying Y will increase the size of the kernel
0051           by about 5kB.
0052 
0053 config FS_DAX_PMD
0054         bool
0055         default FS_DAX
0056         depends on FS_DAX
0057         depends on ZONE_DEVICE
0058         depends on TRANSPARENT_HUGEPAGE
0059 
0060 endif # BLOCK
0061 
0062 # Posix ACL utility routines
0063 #
0064 # Note: Posix ACLs can be implemented without these helpers.  Never use
0065 # this symbol for ifdefs in core code.
0066 #
0067 config FS_POSIX_ACL
0068         def_bool n
0069 
0070 config EXPORTFS
0071         tristate
0072 
0073 config EXPORTFS_BLOCK_OPS
0074         bool "Enable filesystem export operations for block IO"
0075         help
0076           This option enables the export operations for a filesystem to support
0077           external block IO.
0078 
0079 config FILE_LOCKING
0080         bool "Enable POSIX file locking API" if EXPERT
0081         default y
0082         select PERCPU_RWSEM
0083         help
0084           This option enables standard file locking support, required
0085           for filesystems like NFS and for the flock() system
0086           call. Disabling this option saves about 11k.
0087 
0088 config MANDATORY_FILE_LOCKING
0089         bool "Enable Mandatory file locking"
0090         depends on FILE_LOCKING
0091         default y
0092         help
0093           This option enables files appropriately marked files on appropriely
0094           mounted filesystems to support mandatory locking.
0095 
0096           To the best of my knowledge this is dead code that no one cares about.
0097 
0098 source "fs/crypto/Kconfig"
0099 
0100 source "fs/notify/Kconfig"
0101 
0102 source "fs/quota/Kconfig"
0103 
0104 source "fs/autofs4/Kconfig"
0105 source "fs/fuse/Kconfig"
0106 source "fs/overlayfs/Kconfig"
0107 
0108 menu "Caches"
0109 
0110 source "fs/fscache/Kconfig"
0111 source "fs/cachefiles/Kconfig"
0112 
0113 endmenu
0114 
0115 if BLOCK
0116 menu "CD-ROM/DVD Filesystems"
0117 
0118 source "fs/isofs/Kconfig"
0119 source "fs/udf/Kconfig"
0120 
0121 endmenu
0122 endif # BLOCK
0123 
0124 if BLOCK
0125 menu "DOS/FAT/NT Filesystems"
0126 
0127 source "fs/fat/Kconfig"
0128 source "fs/ntfs/Kconfig"
0129 
0130 endmenu
0131 endif # BLOCK
0132 
0133 menu "Pseudo filesystems"
0134 
0135 source "fs/proc/Kconfig"
0136 source "fs/kernfs/Kconfig"
0137 source "fs/sysfs/Kconfig"
0138 
0139 config TMPFS
0140         bool "Tmpfs virtual memory file system support (former shm fs)"
0141         depends on SHMEM
0142         help
0143           Tmpfs is a file system which keeps all files in virtual memory.
0144 
0145           Everything in tmpfs is temporary in the sense that no files will be
0146           created on your hard drive. The files live in memory and swap
0147           space. If you unmount a tmpfs instance, everything stored therein is
0148           lost.
0149 
0150           See <file:Documentation/filesystems/tmpfs.txt> for details.
0151 
0152 config TMPFS_POSIX_ACL
0153         bool "Tmpfs POSIX Access Control Lists"
0154         depends on TMPFS
0155         select TMPFS_XATTR
0156         select FS_POSIX_ACL
0157         help
0158           POSIX Access Control Lists (ACLs) support additional access rights
0159           for users and groups beyond the standard owner/group/world scheme,
0160           and this option selects support for ACLs specifically for tmpfs
0161           filesystems.
0162 
0163           If you've selected TMPFS, it's possible that you'll also need
0164           this option as there are a number of Linux distros that require
0165           POSIX ACL support under /dev for certain features to work properly.
0166           For example, some distros need this feature for ALSA-related /dev
0167           files for sound to work properly.  In short, if you're not sure,
0168           say Y.
0169 
0170           To learn more about Access Control Lists, visit the POSIX ACLs for
0171           Linux website <http://acl.bestbits.at/>.
0172 
0173 config TMPFS_XATTR
0174         bool "Tmpfs extended attributes"
0175         depends on TMPFS
0176         default n
0177         help
0178           Extended attributes are name:value pairs associated with inodes by
0179           the kernel or by users (see the attr(5) manual page, or visit
0180           <http://acl.bestbits.at/> for details).
0181 
0182           Currently this enables support for the trusted.* and
0183           security.* namespaces.
0184 
0185           You need this for POSIX ACL support on tmpfs.
0186 
0187           If unsure, say N.
0188 
0189 config HUGETLBFS
0190         bool "HugeTLB file system support"
0191         depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
0192                    SYS_SUPPORTS_HUGETLBFS || BROKEN
0193         help
0194           hugetlbfs is a filesystem backing for HugeTLB pages, based on
0195           ramfs. For architectures that support it, say Y here and read
0196           <file:Documentation/vm/hugetlbpage.txt> for details.
0197 
0198           If unsure, say N.
0199 
0200 config HUGETLB_PAGE
0201         def_bool HUGETLBFS
0202 
0203 config ARCH_HAS_GIGANTIC_PAGE
0204         bool
0205 
0206 source "fs/configfs/Kconfig"
0207 source "fs/efivarfs/Kconfig"
0208 
0209 endmenu
0210 
0211 menuconfig MISC_FILESYSTEMS
0212         bool "Miscellaneous filesystems"
0213         default y
0214         ---help---
0215           Say Y here to get to see options for various miscellaneous
0216           filesystems, such as filesystems that came from other
0217           operating systems.
0218 
0219           This option alone does not add any kernel code.
0220 
0221           If you say N, all options in this submenu will be skipped and
0222           disabled; if unsure, say Y here.
0223 
0224 if MISC_FILESYSTEMS
0225 
0226 source "fs/orangefs/Kconfig"
0227 source "fs/adfs/Kconfig"
0228 source "fs/affs/Kconfig"
0229 source "fs/ecryptfs/Kconfig"
0230 source "fs/hfs/Kconfig"
0231 source "fs/hfsplus/Kconfig"
0232 source "fs/befs/Kconfig"
0233 source "fs/bfs/Kconfig"
0234 source "fs/efs/Kconfig"
0235 source "fs/jffs2/Kconfig"
0236 # UBIFS File system configuration
0237 source "fs/ubifs/Kconfig"
0238 source "fs/cramfs/Kconfig"
0239 source "fs/squashfs/Kconfig"
0240 source "fs/freevxfs/Kconfig"
0241 source "fs/minix/Kconfig"
0242 source "fs/omfs/Kconfig"
0243 source "fs/hpfs/Kconfig"
0244 source "fs/qnx4/Kconfig"
0245 source "fs/qnx6/Kconfig"
0246 source "fs/romfs/Kconfig"
0247 source "fs/pstore/Kconfig"
0248 source "fs/sysv/Kconfig"
0249 source "fs/ufs/Kconfig"
0250 source "fs/exofs/Kconfig"
0251 
0252 endif # MISC_FILESYSTEMS
0253 
0254 source "fs/exofs/Kconfig.ore"
0255 
0256 menuconfig NETWORK_FILESYSTEMS
0257         bool "Network File Systems"
0258         default y
0259         depends on NET
0260         ---help---
0261           Say Y here to get to see options for network filesystems and
0262           filesystem-related networking code, such as NFS daemon and
0263           RPCSEC security modules.
0264 
0265           This option alone does not add any kernel code.
0266 
0267           If you say N, all options in this submenu will be skipped and
0268           disabled; if unsure, say Y here.
0269 
0270 if NETWORK_FILESYSTEMS
0271 
0272 source "fs/nfs/Kconfig"
0273 source "fs/nfsd/Kconfig"
0274 
0275 config GRACE_PERIOD
0276         tristate
0277 
0278 config LOCKD
0279         tristate
0280         depends on FILE_LOCKING
0281         select GRACE_PERIOD
0282 
0283 config LOCKD_V4
0284         bool
0285         depends on NFSD_V3 || NFS_V3
0286         depends on FILE_LOCKING
0287         default y
0288 
0289 config NFS_ACL_SUPPORT
0290         tristate
0291         select FS_POSIX_ACL
0292 
0293 config NFS_COMMON
0294         bool
0295         depends on NFSD || NFS_FS || LOCKD
0296         default y
0297 
0298 source "net/sunrpc/Kconfig"
0299 source "fs/ceph/Kconfig"
0300 source "fs/cifs/Kconfig"
0301 source "fs/ncpfs/Kconfig"
0302 source "fs/coda/Kconfig"
0303 source "fs/afs/Kconfig"
0304 source "fs/9p/Kconfig"
0305 
0306 endif # NETWORK_FILESYSTEMS
0307 
0308 source "fs/nls/Kconfig"
0309 source "fs/dlm/Kconfig"
0310 
0311 endmenu