time we should try a patient module remove. The default is 50
seconds. Set this to "forever" and we'll wait forever until the
module is gone.
+ - Set FORCE_XFS_CHECK_PROG=yes to have _check_xfs_filesystem run
+ xfs_check to check the filesystem. As of August 2021,
+ xfs_repair finds all filesystem corruptions found by xfs_check,
+ and more, which means that xfs_check is no longer run by default.
- or add a case to the switch in common/config assigning
these variables based on the hostname of your test
ok=0
fi
- # xfs_check runs out of memory on large files, so even providing the test
- # option (-t) to avoid indexing the free space trees doesn't make it pass on
- # large filesystems. Avoid it.
- if [ "$LARGE_SCRATCH_DEV" != yes ]; then
+ # xfs_check runs out of memory on large files, so even providing the
+ # test option (-t) to avoid indexing the free space trees doesn't make
+ # it pass on large filesystems. Avoid it.
+ #
+ # As of August 2021, xfs_repair completely supersedes xfs_check's
+ # ability to find corruptions, so we no longer run xfs_check unless
+ # forced to run it.
+ if [ "$LARGE_SCRATCH_DEV" != yes ] && [ "$FORCE_XFS_CHECK_PROG" = "yes" ]; then
_xfs_check $extra_log_options $device 2>&1 > $tmp.fs_check
fi
if [ -s $tmp.fs_check ]; then