summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-30 06:19:21 +0100
committerCarlos Maiolino <cem@kernel.org>2026-01-30 10:41:42 +0100
commit2d263debd7f1df2091efb4c06eda02ab04b68562 (patch)
treec6305454e9dbee3258f08c3c9de8a488191d5126 /Documentation/admin-guide
parent4d8f42466a3ba2342b876822ff0582a49e174c9b (diff)
xfs: allow setting errortags at mount time
Add an errortag mount option that enables an errortag with the default injection frequency. This allows injecting errors into the mount process instead of just on live file systems, and thus test mount error handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/xfs.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/admin-guide/xfs.rst b/Documentation/admin-guide/xfs.rst
index c85cd327af28..746ea60eed3f 100644
--- a/Documentation/admin-guide/xfs.rst
+++ b/Documentation/admin-guide/xfs.rst
@@ -215,6 +215,14 @@ When mounting an XFS filesystem, the following options are accepted.
inconsistent namespace presentation during or after a
failover event.
+ errortag=tagname
+ When specified, enables the error inject tag named "tagname" with the
+ default frequency. Can be specified multiple times to enable multiple
+ errortags. Specifying this option on remount will reset the error tag
+ to the default value if it was set to any other value before.
+ This option is only supported when CONFIG_XFS_DEBUG is enabled, and
+ will not be reflected in /proc/self/mounts.
+
Deprecation of V4 Format
========================