]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/fuzzy: fix some problems with the 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:26 +0000 (21:10 +0800)
commitc3f3b35148310b562d9844fe896febc4155a75ec
treeb91e56cc808f7200f491925fb2d62d25158030c6
parentd60448eb283cba788f1b9cc6d98b9d872bff72e7
common/fuzzy: fix some problems with the offline repair strategy

While auditing the fuzz tester code, I noticed there were numerous
problems with the offline repair strategy -- the stages of the strategy
are not consistently logged to the kernel log, we don't actually check
that repair -n finds the fuzzed field, and since this is an offline
test, we don't need or want to mount or try to run the online scrubber.
Also, disable prefetch to reduce the chance of an OOM kill.  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