xref: /openbmc/linux/fs/xfs/Kconfig (revision ca79522c)
1config XFS_FS
2	tristate "XFS filesystem support"
3	depends on BLOCK
4	select EXPORTFS
5	select LIBCRC32C
6	help
7	  XFS is a high performance journaling filesystem which originated
8	  on the SGI IRIX platform.  It is completely multi-threaded, can
9	  support large files and large filesystems, extended attributes,
10	  variable block sizes, is extent based, and makes extensive use of
11	  Btrees (directories, extents, free space) to aid both performance
12	  and scalability.
13
14	  Refer to the documentation at <http://oss.sgi.com/projects/xfs/>
15	  for complete details.  This implementation is on-disk compatible
16	  with the IRIX version of XFS.
17
18	  To compile this file system support as a module, choose M here: the
19	  module will be called xfs.  Be aware, however, that if the file
20	  system of your root partition is compiled as a module, you'll need
21	  to use an initial ramdisk (initrd) to boot.
22
23config XFS_QUOTA
24	bool "XFS Quota support"
25	depends on XFS_FS
26	select QUOTACTL
27	help
28	  If you say Y here, you will be able to set limits for disk usage on
29	  a per user and/or a per group basis under XFS.  XFS considers quota
30	  information as filesystem metadata and uses journaling to provide a
31	  higher level guarantee of consistency.  The on-disk data format for
32	  quota is also compatible with the IRIX version of XFS, allowing a
33	  filesystem to be migrated between Linux and IRIX without any need
34	  for conversion.
35
36	  If unsure, say N.  More comprehensive documentation can be found in
37	  README.quota in the xfsprogs package.  XFS quota can be used either
38	  with or without the generic quota support enabled (CONFIG_QUOTA) -
39	  they are completely independent subsystems.
40
41config XFS_POSIX_ACL
42	bool "XFS POSIX ACL support"
43	depends on XFS_FS
44	select FS_POSIX_ACL
45	help
46	  POSIX Access Control Lists (ACLs) support permissions for users and
47	  groups beyond the owner/group/world scheme.
48
49	  To learn more about Access Control Lists, visit the POSIX ACLs for
50	  Linux website <http://acl.bestbits.at/>.
51
52	  If you don't know what Access Control Lists are, say N.
53
54config XFS_RT
55	bool "XFS Realtime subvolume support"
56	depends on XFS_FS
57	help
58	  If you say Y here you will be able to mount and use XFS filesystems
59	  which contain a realtime subvolume.  The realtime subvolume is a
60	  separate area of disk space where only file data is stored.  It was
61	  originally designed to provide deterministic data rates suitable
62	  for media streaming applications, but is also useful as a generic
63	  mechanism for ensuring data and metadata/log I/Os are completely
64	  separated.  Regular file I/Os are isolated to a separate device
65	  from all other requests, and this can be done quite transparently
66	  to applications via the inherit-realtime directory inode flag.
67
68	  See the xfs man page in section 5 for additional information.
69
70	  If unsure, say N.
71
72config XFS_WARN
73	bool "XFS Verbose Warnings"
74	depends on XFS_FS && !XFS_DEBUG
75	help
76	  Say Y here to get an XFS build with many additional warnings.
77	  It converts ASSERT checks to WARN, so will log any out-of-bounds
78	  conditions that occur that would otherwise be missed. It is much
79	  lighter weight than XFS_DEBUG and does not modify algorithms and will
80	  not cause the kernel to panic on non-fatal errors.
81
82	  However, similar to XFS_DEBUG, it is only advisable to use this if you
83	  are debugging a particular problem.
84
85config XFS_DEBUG
86	bool "XFS Debugging support"
87	depends on XFS_FS
88	help
89	  Say Y here to get an XFS build with many debugging features,
90	  including ASSERT checks, function wrappers around macros,
91	  and extra sanity-checking functions in various code paths.
92
93	  Note that the resulting code will be HUGE and SLOW, and probably
94	  not useful unless you are debugging a particular problem.
95
96	  Say N unless you are an XFS developer, or you play one on TV.
97