]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: try to fix the test device if it gets corrupted
authorTheodore Ts'o <tytso@mit.edu>
Fri, 21 Apr 2023 17:51:31 +0000 (10:51 -0700)
committerZorro Lang <zlang@kernel.org>
Sun, 23 Apr 2023 18:48:02 +0000 (02:48 +0800)
commitc7d81cdecbefd5768163a195e8d5257279216a34
treeaad92e203c7c6f8d9be5db7f350c22ebee5c6851
parentc63ce4a5eac8a4e1f0785e7eae45b16a3ad16b87
check: try to fix the test device if it gets corrupted

If the test device gets corrupted all subsequent tests will fail.  To
prevent this from causing all subsequent tests to be useless, try
repair the file system on TEST_DEV if possible.  We don't need to do
this with the scratch device since that file system gets recreated
each time anyway.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
check
common/rc
common/xfs