]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: allow setting errortags at mount time
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Jan 2026 05:19:21 +0000 (06:19 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 30 Jan 2026 09:41:42 +0000 (10:41 +0100)
commit2d263debd7f1df2091efb4c06eda02ab04b68562
treec6305454e9dbee3258f08c3c9de8a488191d5126
parent4d8f42466a3ba2342b876822ff0582a49e174c9b
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>
Documentation/admin-guide/xfs.rst
fs/xfs/xfs_error.c
fs/xfs/xfs_error.h
fs/xfs/xfs_super.c