]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/fuzzy: fix some problems with the online-then-offline repair strategy
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:19:40 +0000 (14:19 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Feb 2023 13:10:58 +0000 (21:10 +0800)
commit3a564b1f41d32a9e7894410052affd5f5f30f602
tree5c0547fd017d2df148843439ee0214dddd8a3af6
parent7a274f7626c06ba473dd0bdd703578e973d41b93
common/fuzzy: fix some problems with the online-then-offline repair strategy

While auditing the fuzz tester code, I noticed there were numerous
problems with the online-then-offline repair strategy -- the stages of
the strategy are not consistently logged to the kernel log, some of the
error messages don't identify /which/ scrubber we're calling, we don't
do a pre-repair check to make sure we detect the fuzzed fields, and we
don't actually re-run online scrub after a repair to make sure that it's
ok.  Disable xfs_repair prefetch to reduce the possibility of OOM kills.
Rework the error messages to make reading the golden output easier.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy