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. v2: Now with more cleanups to the logwrites code and better loop control for 251, as discussed on the v1 patchset. v3: Add more acks, kick out some of the logwrites stuff, add more bugfixes. 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 * generic/757: convert to thinp * 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 * generic/251: don't copy the fsstress source code * common/rc: _scratch_mkfs_sized supports extra arguments * xfs/157: do not drop necessary mkfs options * generic/366: fix directio requirements checking * generic/454: actually set attr value for llamapirate subtest * xfs/122: add tests for commitrange structures --- common/rc | 35 +++++++++++++++++++---------------- tests/generic/251 | 42 +++++++++++++++++++++--------------------- tests/generic/366 | 2 +- tests/generic/454 | 8 ++++---- tests/generic/562 | 10 ++++++++-- tests/generic/757 | 26 ++++++++++++++++++++------ tests/xfs/009 | 29 ++++++++++++++++++++++++++++- tests/xfs/113 | 33 +++++++++++++++++++++++++++------ tests/xfs/122.out | 1 + tests/xfs/157 | 3 +-- tests/xfs/163 | 9 ++++++++- tests/xfs/508 | 4 ++-- 12 files changed, 140 insertions(+), 62 deletions(-)