~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/xfs/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/xfs/Kconfig (Architecture i386) and /fs/xfs/Kconfig (Architecture sparc64)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 config XFS_FS                                       2 config XFS_FS
  3         tristate "XFS filesystem support"           3         tristate "XFS filesystem support"
  4         depends on BLOCK                            4         depends on BLOCK
  5         select EXPORTFS                             5         select EXPORTFS
  6         select LIBCRC32C                            6         select LIBCRC32C
  7         select FS_IOMAP                             7         select FS_IOMAP
  8         help                                        8         help
  9           XFS is a high performance journaling      9           XFS is a high performance journaling filesystem which originated
 10           on the SGI IRIX platform.  It is com     10           on the SGI IRIX platform.  It is completely multi-threaded, can
 11           support large files and large filesy     11           support large files and large filesystems, extended attributes,
 12           variable block sizes, is extent base     12           variable block sizes, is extent based, and makes extensive use of
 13           Btrees (directories, extents, free s     13           Btrees (directories, extents, free space) to aid both performance
 14           and scalability.                         14           and scalability.
 15                                                    15 
 16           Refer to the documentation at <http:     16           Refer to the documentation at <http://oss.sgi.com/projects/xfs/>
 17           for complete details.  This implemen     17           for complete details.  This implementation is on-disk compatible
 18           with the IRIX version of XFS.            18           with the IRIX version of XFS.
 19                                                    19 
 20           To compile this file system support      20           To compile this file system support as a module, choose M here: the
 21           module will be called xfs.  Be aware     21           module will be called xfs.  Be aware, however, that if the file
 22           system of your root partition is com     22           system of your root partition is compiled as a module, you'll need
 23           to use an initial ramdisk (initrd) t     23           to use an initial ramdisk (initrd) to boot.
 24                                                    24 
 25 config XFS_SUPPORT_V4                              25 config XFS_SUPPORT_V4
 26         bool "Support deprecated V4 (crc=0) fo     26         bool "Support deprecated V4 (crc=0) format"
 27         depends on XFS_FS                          27         depends on XFS_FS
 28         default y                                  28         default y
 29         help                                       29         help
 30           The V4 filesystem format lacks certa     30           The V4 filesystem format lacks certain features that are supported
 31           by the V5 format, such as metadata c     31           by the V5 format, such as metadata checksumming, strengthened
 32           metadata verification, and the abili     32           metadata verification, and the ability to store timestamps past the
 33           year 2038.  Because of this, the V4      33           year 2038.  Because of this, the V4 format is deprecated.  All users
 34           should upgrade by backing up their f     34           should upgrade by backing up their files, reformatting, and restoring
 35           from the backup.                         35           from the backup.
 36                                                    36 
 37           Administrators and users can detect      37           Administrators and users can detect a V4 filesystem by running
 38           xfs_info against a filesystem mountp     38           xfs_info against a filesystem mountpoint and checking for a string
 39           beginning with "crc=".  If the strin     39           beginning with "crc=".  If the string "crc=0" is found, the
 40           filesystem is a V4 filesystem.  If n     40           filesystem is a V4 filesystem.  If no such string is found, please
 41           upgrade xfsprogs to the latest versi     41           upgrade xfsprogs to the latest version and try again.
 42                                                    42 
 43           This option will become default N in     43           This option will become default N in September 2025.  Support for the
 44           V4 format will be removed entirely i     44           V4 format will be removed entirely in September 2030.  Distributors
 45           can say N here to withdraw support e     45           can say N here to withdraw support earlier.
 46                                                    46 
 47           To continue supporting the old V4 fo     47           To continue supporting the old V4 format (crc=0), say Y.
 48           To close off an attack surface, say      48           To close off an attack surface, say N.
 49                                                    49 
 50 config XFS_SUPPORT_ASCII_CI                        50 config XFS_SUPPORT_ASCII_CI
 51         bool "Support deprecated case-insensit     51         bool "Support deprecated case-insensitive ascii (ascii-ci=1) format"
 52         depends on XFS_FS                          52         depends on XFS_FS
 53         default y                                  53         default y
 54         help                                       54         help
 55           The ASCII case insensitivity filesys     55           The ASCII case insensitivity filesystem feature only works correctly
 56           on systems that have been coerced in     56           on systems that have been coerced into using ISO 8859-1, and it does
 57           not work on extended attributes.  Th     57           not work on extended attributes.  The kernel has no visibility into
 58           the locale settings in userspace, so     58           the locale settings in userspace, so it corrupts UTF-8 names.
 59           Enabling this feature makes XFS vuln     59           Enabling this feature makes XFS vulnerable to mixed case sensitivity
 60           attacks.  Because of this, the featu     60           attacks.  Because of this, the feature is deprecated.  All users
 61           should upgrade by backing up their f     61           should upgrade by backing up their files, reformatting, and restoring
 62           from the backup.                         62           from the backup.
 63                                                    63 
 64           Administrators and users can detect      64           Administrators and users can detect such a filesystem by running
 65           xfs_info against a filesystem mountp     65           xfs_info against a filesystem mountpoint and checking for a string
 66           beginning with "ascii-ci=".  If the      66           beginning with "ascii-ci=".  If the string "ascii-ci=1" is found, the
 67           filesystem is a case-insensitive fil     67           filesystem is a case-insensitive filesystem.  If no such string is
 68           found, please upgrade xfsprogs to th     68           found, please upgrade xfsprogs to the latest version and try again.
 69                                                    69 
 70           This option will become default N in     70           This option will become default N in September 2025.  Support for the
 71           feature will be removed entirely in      71           feature will be removed entirely in September 2030.  Distributors
 72           can say N here to withdraw support e     72           can say N here to withdraw support earlier.
 73                                                    73 
 74           To continue supporting case-insensit     74           To continue supporting case-insensitivity (ascii-ci=1), say Y.
 75           To close off an attack surface, say      75           To close off an attack surface, say N.
 76                                                    76 
 77 config XFS_QUOTA                                   77 config XFS_QUOTA
 78         bool "XFS Quota support"                   78         bool "XFS Quota support"
 79         depends on XFS_FS                          79         depends on XFS_FS
 80         select QUOTACTL                            80         select QUOTACTL
 81         help                                       81         help
 82           If you say Y here, you will be able      82           If you say Y here, you will be able to set limits for disk usage on
 83           a per user and/or a per group basis      83           a per user and/or a per group basis under XFS.  XFS considers quota
 84           information as filesystem metadata a     84           information as filesystem metadata and uses journaling to provide a
 85           higher level guarantee of consistenc     85           higher level guarantee of consistency.  The on-disk data format for
 86           quota is also compatible with the IR     86           quota is also compatible with the IRIX version of XFS, allowing a
 87           filesystem to be migrated between Li     87           filesystem to be migrated between Linux and IRIX without any need
 88           for conversion.                          88           for conversion.
 89                                                    89 
 90           If unsure, say N.  More comprehensiv     90           If unsure, say N.  More comprehensive documentation can be found in
 91           README.quota in the xfsprogs package     91           README.quota in the xfsprogs package.  XFS quota can be used either
 92           with or without the generic quota su     92           with or without the generic quota support enabled (CONFIG_QUOTA) -
 93           they are completely independent subs     93           they are completely independent subsystems.
 94                                                    94 
 95 config XFS_POSIX_ACL                               95 config XFS_POSIX_ACL
 96         bool "XFS POSIX ACL support"               96         bool "XFS POSIX ACL support"
 97         depends on XFS_FS                          97         depends on XFS_FS
 98         select FS_POSIX_ACL                        98         select FS_POSIX_ACL
 99         help                                       99         help
100           POSIX Access Control Lists (ACLs) su    100           POSIX Access Control Lists (ACLs) support permissions for users and
101           groups beyond the owner/group/world     101           groups beyond the owner/group/world scheme.
102                                                   102 
103           If you don't know what Access Contro    103           If you don't know what Access Control Lists are, say N.
104                                                   104 
105 config XFS_RT                                     105 config XFS_RT
106         bool "XFS Realtime subvolume support"     106         bool "XFS Realtime subvolume support"
107         depends on XFS_FS                         107         depends on XFS_FS
108         help                                      108         help
109           If you say Y here you will be able t    109           If you say Y here you will be able to mount and use XFS filesystems
110           which contain a realtime subvolume.     110           which contain a realtime subvolume.  The realtime subvolume is a
111           separate area of disk space where on    111           separate area of disk space where only file data is stored.  It was
112           originally designed to provide deter    112           originally designed to provide deterministic data rates suitable
113           for media streaming applications, bu    113           for media streaming applications, but is also useful as a generic
114           mechanism for ensuring data and meta    114           mechanism for ensuring data and metadata/log I/Os are completely
115           separated.  Regular file I/Os are is    115           separated.  Regular file I/Os are isolated to a separate device
116           from all other requests, and this ca    116           from all other requests, and this can be done quite transparently
117           to applications via the inherit-real    117           to applications via the inherit-realtime directory inode flag.
118                                                   118 
119           See the xfs man page in section 5 fo    119           See the xfs man page in section 5 for additional information.
120                                                   120 
121           If unsure, say N.                       121           If unsure, say N.
122                                                   122 
123 config XFS_DRAIN_INTENTS                          123 config XFS_DRAIN_INTENTS
124         bool                                      124         bool
125         select JUMP_LABEL if HAVE_ARCH_JUMP_LA    125         select JUMP_LABEL if HAVE_ARCH_JUMP_LABEL
126                                                   126 
127 config XFS_LIVE_HOOKS                             127 config XFS_LIVE_HOOKS
128         bool                                      128         bool
129         select JUMP_LABEL if HAVE_ARCH_JUMP_LA    129         select JUMP_LABEL if HAVE_ARCH_JUMP_LABEL
130                                                   130 
131 config XFS_MEMORY_BUFS                            131 config XFS_MEMORY_BUFS
132         bool                                      132         bool
133                                                   133 
134 config XFS_BTREE_IN_MEM                           134 config XFS_BTREE_IN_MEM
135         bool                                      135         bool
136                                                   136 
137 config XFS_ONLINE_SCRUB                           137 config XFS_ONLINE_SCRUB
138         bool "XFS online metadata check suppor    138         bool "XFS online metadata check support"
139         default n                                 139         default n
140         depends on XFS_FS                         140         depends on XFS_FS
141         depends on TMPFS && SHMEM                 141         depends on TMPFS && SHMEM
142         select XFS_LIVE_HOOKS                     142         select XFS_LIVE_HOOKS
143         select XFS_DRAIN_INTENTS                  143         select XFS_DRAIN_INTENTS
144         select XFS_MEMORY_BUFS                    144         select XFS_MEMORY_BUFS
145         help                                      145         help
146           If you say Y here you will be able t    146           If you say Y here you will be able to check metadata on a
147           mounted XFS filesystem.  This featur    147           mounted XFS filesystem.  This feature is intended to reduce
148           filesystem downtime by supplementing    148           filesystem downtime by supplementing xfs_repair.  The key
149           advantage here is to look for proble    149           advantage here is to look for problems proactively so that
150           they can be dealt with in a controll    150           they can be dealt with in a controlled manner.
151                                                   151 
152           This feature is considered EXPERIMEN    152           This feature is considered EXPERIMENTAL.  Use with caution!
153                                                   153 
154           See the xfs_scrub man page in sectio    154           See the xfs_scrub man page in section 8 for additional information.
155                                                   155 
156           If unsure, say N.                       156           If unsure, say N.
157                                                   157 
158 config XFS_ONLINE_SCRUB_STATS                     158 config XFS_ONLINE_SCRUB_STATS
159         bool "XFS online metadata check usage     159         bool "XFS online metadata check usage data collection"
160         default y                                 160         default y
161         depends on XFS_ONLINE_SCRUB               161         depends on XFS_ONLINE_SCRUB
162         select DEBUG_FS                           162         select DEBUG_FS
163         help                                      163         help
164           If you say Y here, the kernel will g    164           If you say Y here, the kernel will gather usage data about
165           the online metadata check subsystem.    165           the online metadata check subsystem.  This includes the number
166           of invocations, the outcomes, and th    166           of invocations, the outcomes, and the results of repairs, if any.
167           This may slow down scrub slightly du    167           This may slow down scrub slightly due to the use of high precision
168           timers and the need to merge per-inv    168           timers and the need to merge per-invocation information into the
169           filesystem counters.                    169           filesystem counters.
170                                                   170 
171           Usage data are collected in /sys/ker    171           Usage data are collected in /sys/kernel/debug/xfs/scrub.
172                                                   172 
173           If unsure, say N.                       173           If unsure, say N.
174                                                   174 
175 config XFS_ONLINE_REPAIR                          175 config XFS_ONLINE_REPAIR
176         bool "XFS online metadata repair suppo    176         bool "XFS online metadata repair support"
177         default n                                 177         default n
178         depends on XFS_FS && XFS_ONLINE_SCRUB     178         depends on XFS_FS && XFS_ONLINE_SCRUB
179         select XFS_BTREE_IN_MEM                   179         select XFS_BTREE_IN_MEM
180         help                                      180         help
181           If you say Y here you will be able t    181           If you say Y here you will be able to repair metadata on a
182           mounted XFS filesystem.  This featur    182           mounted XFS filesystem.  This feature is intended to reduce
183           filesystem downtime by fixing minor     183           filesystem downtime by fixing minor problems before they cause the
184           filesystem to go down.  However, it     184           filesystem to go down.  However, it requires that the filesystem be
185           formatted with secondary metadata, s    185           formatted with secondary metadata, such as reverse mappings and inode
186           parent pointers.                        186           parent pointers.
187                                                   187 
188           This feature is considered EXPERIMEN    188           This feature is considered EXPERIMENTAL.  Use with caution!
189                                                   189 
190           See the xfs_scrub man page in sectio    190           See the xfs_scrub man page in section 8 for additional information.
191                                                   191 
192           If unsure, say N.                       192           If unsure, say N.
193                                                   193 
194 config XFS_WARN                                   194 config XFS_WARN
195         bool "XFS Verbose Warnings"               195         bool "XFS Verbose Warnings"
196         depends on XFS_FS && !XFS_DEBUG           196         depends on XFS_FS && !XFS_DEBUG
197         help                                      197         help
198           Say Y here to get an XFS build with     198           Say Y here to get an XFS build with many additional warnings.
199           It converts ASSERT checks to WARN, s    199           It converts ASSERT checks to WARN, so will log any out-of-bounds
200           conditions that occur that would oth    200           conditions that occur that would otherwise be missed. It is much
201           lighter weight than XFS_DEBUG and do    201           lighter weight than XFS_DEBUG and does not modify algorithms and will
202           not cause the kernel to panic on non    202           not cause the kernel to panic on non-fatal errors.
203                                                   203 
204           However, similar to XFS_DEBUG, it is    204           However, similar to XFS_DEBUG, it is only advisable to use this if you
205           are debugging a particular problem.     205           are debugging a particular problem.
206                                                   206 
207 config XFS_DEBUG                                  207 config XFS_DEBUG
208         bool "XFS Debugging support"              208         bool "XFS Debugging support"
209         depends on XFS_FS                         209         depends on XFS_FS
210         help                                      210         help
211           Say Y here to get an XFS build with     211           Say Y here to get an XFS build with many debugging features,
212           including ASSERT checks, function wr    212           including ASSERT checks, function wrappers around macros,
213           and extra sanity-checking functions     213           and extra sanity-checking functions in various code paths.
214                                                   214 
215           Note that the resulting code will be    215           Note that the resulting code will be HUGE and SLOW, and probably
216           not useful unless you are debugging     216           not useful unless you are debugging a particular problem.
217                                                   217 
218           Say N unless you are an XFS develope    218           Say N unless you are an XFS developer, or you play one on TV.
219                                                   219 
220 config XFS_DEBUG_EXPENSIVE                        220 config XFS_DEBUG_EXPENSIVE
221         bool "XFS expensive debugging checks"     221         bool "XFS expensive debugging checks"
222         depends on XFS_FS && XFS_DEBUG            222         depends on XFS_FS && XFS_DEBUG
223         help                                      223         help
224           Say Y here to get an XFS build with     224           Say Y here to get an XFS build with expensive debugging checks
225           enabled.  These checks may affect pe    225           enabled.  These checks may affect performance significantly.
226                                                   226 
227           Note that the resulting code will be    227           Note that the resulting code will be HUGER and SLOWER, and probably
228           not useful unless you are debugging     228           not useful unless you are debugging a particular problem.
229                                                   229 
230           Say N unless you are an XFS develope    230           Say N unless you are an XFS developer, or you play one on TV.
231                                                   231 
232 config XFS_ASSERT_FATAL                           232 config XFS_ASSERT_FATAL
233         bool "XFS fatal asserts"                  233         bool "XFS fatal asserts"
234         default y                                 234         default y
235         depends on XFS_FS && XFS_DEBUG            235         depends on XFS_FS && XFS_DEBUG
236         help                                      236         help
237           Set the default DEBUG mode ASSERT fa    237           Set the default DEBUG mode ASSERT failure behavior.
238                                                   238 
239           Say Y here to cause DEBUG mode ASSER    239           Say Y here to cause DEBUG mode ASSERT failures to result in fatal
240           errors that BUG() the kernel by defa    240           errors that BUG() the kernel by default. If you say N, ASSERT failures
241           result in warnings.                     241           result in warnings.
242                                                   242 
243           This behavior can be modified at run    243           This behavior can be modified at runtime via sysfs.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php