xref: /linux/fs/xfs/Kconfig (revision 80f44b152c889e592616adf0d33b856107f4bace)
11da177e4SLinus Torvaldsconfig XFS_FS
21da177e4SLinus Torvalds	tristate "XFS filesystem support"
39361401eSDavid Howells	depends on BLOCK
4d296d30aSChristoph Hellwig	select EXPORTFS
51da177e4SLinus Torvalds	help
61da177e4SLinus Torvalds	  XFS is a high performance journaling filesystem which originated
71da177e4SLinus Torvalds	  on the SGI IRIX platform.  It is completely multi-threaded, can
81da177e4SLinus Torvalds	  support large files and large filesystems, extended attributes,
91da177e4SLinus Torvalds	  variable block sizes, is extent based, and makes extensive use of
101da177e4SLinus Torvalds	  Btrees (directories, extents, free space) to aid both performance
111da177e4SLinus Torvalds	  and scalability.
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds	  Refer to the documentation at <http://oss.sgi.com/projects/xfs/>
141da177e4SLinus Torvalds	  for complete details.  This implementation is on-disk compatible
151da177e4SLinus Torvalds	  with the IRIX version of XFS.
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds	  To compile this file system support as a module, choose M here: the
181da177e4SLinus Torvalds	  module will be called xfs.  Be aware, however, that if the file
191da177e4SLinus Torvalds	  system of your root partition is compiled as a module, you'll need
201da177e4SLinus Torvalds	  to use an initial ramdisk (initrd) to boot.
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsconfig XFS_QUOTA
23538524aeSNathan Scott	bool "XFS Quota support"
241da177e4SLinus Torvalds	depends on XFS_FS
25*80f44b15SJan Kara	select QUOTACTL
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  If you say Y here, you will be able to set limits for disk usage on
281da177e4SLinus Torvalds	  a per user and/or a per group basis under XFS.  XFS considers quota
291da177e4SLinus Torvalds	  information as filesystem metadata and uses journaling to provide a
301da177e4SLinus Torvalds	  higher level guarantee of consistency.  The on-disk data format for
311da177e4SLinus Torvalds	  quota is also compatible with the IRIX version of XFS, allowing a
321da177e4SLinus Torvalds	  filesystem to be migrated between Linux and IRIX without any need
331da177e4SLinus Torvalds	  for conversion.
341da177e4SLinus Torvalds
351da177e4SLinus Torvalds	  If unsure, say N.  More comprehensive documentation can be found in
361da177e4SLinus Torvalds	  README.quota in the xfsprogs package.  XFS quota can be used either
371da177e4SLinus Torvalds	  with or without the generic quota support enabled (CONFIG_QUOTA) -
381da177e4SLinus Torvalds	  they are completely independent subsystems.
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig XFS_POSIX_ACL
4120ba0287SNathan Scott	bool "XFS POSIX ACL support"
421da177e4SLinus Torvalds	depends on XFS_FS
43ef14f0c1SChristoph Hellwig	select FS_POSIX_ACL
441da177e4SLinus Torvalds	help
451da177e4SLinus Torvalds	  POSIX Access Control Lists (ACLs) support permissions for users and
461da177e4SLinus Torvalds	  groups beyond the owner/group/world scheme.
471da177e4SLinus Torvalds
481da177e4SLinus Torvalds	  To learn more about Access Control Lists, visit the POSIX ACLs for
491da177e4SLinus Torvalds	  Linux website <http://acl.bestbits.at/>.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  If you don't know what Access Control Lists are, say N.
521da177e4SLinus Torvalds
5320ba0287SNathan Scottconfig XFS_RT
54d7ede1aaSNathan Scott	bool "XFS Realtime subvolume support"
55d7ede1aaSNathan Scott	depends on XFS_FS
5620ba0287SNathan Scott	help
5720ba0287SNathan Scott	  If you say Y here you will be able to mount and use XFS filesystems
5820ba0287SNathan Scott	  which contain a realtime subvolume.  The realtime subvolume is a
59d7ede1aaSNathan Scott	  separate area of disk space where only file data is stored.  It was
60d7ede1aaSNathan Scott	  originally designed to provide deterministic data rates suitable
61d7ede1aaSNathan Scott	  for media streaming applications, but is also useful as a generic
62d7ede1aaSNathan Scott	  mechanism for ensuring data and metadata/log I/Os are completely
63d7ede1aaSNathan Scott	  separated.  Regular file I/Os are isolated to a separate device
64d7ede1aaSNathan Scott	  from all other requests, and this can be done quite transparently
65d7ede1aaSNathan Scott	  to applications via the inherit-realtime directory inode flag.
6620ba0287SNathan Scott
67d7ede1aaSNathan Scott	  See the xfs man page in section 5 for additional information.
6820ba0287SNathan Scott
6920ba0287SNathan Scott	  If unsure, say N.
707788fae6SChristoph Hellwig
717788fae6SChristoph Hellwigconfig XFS_DEBUG
727788fae6SChristoph Hellwig	bool "XFS Debugging support (EXPERIMENTAL)"
737788fae6SChristoph Hellwig	depends on XFS_FS && EXPERIMENTAL
747788fae6SChristoph Hellwig	help
757788fae6SChristoph Hellwig	  Say Y here to get an XFS build with many debugging features,
767788fae6SChristoph Hellwig	  including ASSERT checks, function wrappers around macros,
777788fae6SChristoph Hellwig	  and extra sanity-checking functions in various code paths.
787788fae6SChristoph Hellwig
797788fae6SChristoph Hellwig	  Note that the resulting code will be HUGE and SLOW, and probably
807788fae6SChristoph Hellwig	  not useful unless you are debugging a particular problem.
817788fae6SChristoph Hellwig
827788fae6SChristoph Hellwig	  Say N unless you are an XFS developer, or you play one on TV.
83