mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: capture metadump output if xfs filesystem check fails
Capture metadump output when various userspace repair and checker tools fail or indicate corruption, to aid in debugging. We don't bother to annotate xfs_check because it's bitrotting. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Eryu Guan
parent
7c476f1890
commit
d4811ae1ff
@@ -109,6 +109,8 @@ Preparing system for tests:
|
||||
- Set TEST_FS_MODULE_RELOAD=1 to unload the module and reload
|
||||
it between test invocations. This assumes that the name of
|
||||
the module is the same as FSTYP.
|
||||
- Set DUMP_CORRUPT_FS=1 to record metadata dumps of XFS
|
||||
filesystems if a filesystem check fails.
|
||||
|
||||
- or add a case to the switch in common/config assigning
|
||||
these variables based on the hostname of your test
|
||||
|
||||
Reference in New Issue
Block a user