]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fuzzy: rework scrub stress output filtering
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:12:53 +0000 (14:12 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 14 Jan 2023 13:47:58 +0000 (21:47 +0800)
commit47b2e809e8c8ae627c5c5f17acc4fd96229e0be7
treeb1c41a7ed6dfc80ebb998ddd6a8a01ffa0cee43e
parent69f8e4b9660d498370a8693abaa291481efca544
fuzzy: rework scrub stress output filtering

Rework the output filtering functions for scrub stress tests: first, we
should use _filter_scratch to avoid leaking the scratch fs details to
the output.  Second, for scrub and repair, change the filter elements to
reflect outputs that don't indicate failure (such as busy resources,
preening requests, and insufficient space to do anything).  Finally,
change the _require function to check that filter functions have been
sourced.

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