[PATCHSET] fstests: random fixes for v2024.11.17

Darrick J. Wong
2024-11-18T23:01:28Z

Hi all,

Here's the usual odd fixes for fstests. Most of these are cleanups and
bug fixes that have been aging in my djwong-wtf branch forever.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=random-fixes

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=random-fixes

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=random-fixes
---
Commits in this patchset:
* generic/757: fix various bugs in this test
* xfs/113: fix failure to corrupt the entire directory
* xfs/508: fix test for 64k blocksize
* common/rc: capture dmesg when oom kills happen
* generic/562: handle ENOSPC while cloning gracefully
* xfs/163: skip test if we can't shrink due to enospc issues
* xfs/009: allow logically contiguous preallocations
* generic/251: use sentinel files to kill the fstrim loop
* generic/251: constrain runtime via time/load/soak factors
* common/rc: _scratch_mkfs_sized supports extra arguments
* xfs/157: do not drop necessary mkfs options
* xfs/157: fix test failures when MKFS_OPTIONS has -L options
---
common/rc | 35 +++++++++++++++++++----------------
tests/generic/251 | 34 ++++++++++++++++++----------------
tests/generic/562 | 10 ++++++++--
tests/generic/757 | 7 ++++++-
tests/xfs/009 | 29 ++++++++++++++++++++++++++++-
tests/xfs/113 | 33 +++++++++++++++++++++++++++------
tests/xfs/157 | 30 +++++++++++++++++++++++++++---
tests/xfs/163 | 9 ++++++++-
tests/xfs/508 | 4 ++--
9 files changed, 143 insertions(+), 48 deletions(-)