[PATCHSET v24.0 0/2] fstests: race online scrub with mount state changes

Darrick J. Wong
2022-12-30T22:29:24Z

Hi all,

Introduce the ability to run xfs_scrub(8) itself from our online fsck
stress test harness. Create two new tests to race scrub and repair
against fsstress, and four more tests to do the same but racing against
fs freeze and ro remounts.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything. Enjoy!
Comments and questions are, as always, welcome.

--D

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=race-scrub-and-mount-state-changes
---
common/fuzzy | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++---
tests/xfs/285 | 44 ++++++++++---------------------------
tests/xfs/285.out | 4 +--
tests/xfs/286 | 46 ++++++++++-----------------------------
tests/xfs/286.out | 4 +--
tests/xfs/733 | 39 +++++++++++++++++++++++++++++++++
tests/xfs/733.out | 2 ++
tests/xfs/771 | 39 +++++++++++++++++++++++++++++++++
tests/xfs/771.out | 2 ++
tests/xfs/824 | 40 ++++++++++++++++++++++++++++++++++
tests/xfs/824.out | 2 ++
tests/xfs/825 | 40 ++++++++++++++++++++++++++++++++++
tests/xfs/825.out | 2 ++
13 files changed, 252 insertions(+), 75 deletions(-)
create mode 100755 tests/xfs/733
create mode 100644 tests/xfs/733.out
create mode 100755 tests/xfs/771
create mode 100644 tests/xfs/771.out
create mode 100755 tests/xfs/824
create mode 100644 tests/xfs/824.out
create mode 100755 tests/xfs/825
create mode 100644 tests/xfs/825.out