Hi all, Here is a pile of random fstests fixes: a couple to fix xfs_scrub unicode detection; one to fix xfs/220 so that it tests QUOTARM again; the usual adjustments to fstests to accomodate behavior changes added to 5.17; a regression test for CVE-2021-4155; and cleanups to make fstests less dependent on XFS_IOC_ALLOCSP/FREESP since those are going away for 5.17. 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 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 --- .gitignore | 1 common/rc | 19 ++++++--- common/xfs | 12 +++++ ltp/fsx.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++- ltp/iogen.c | 32 ++++++++++---- src/Makefile | 2 - src/alloc.c | 66 +++++++++++++++++++++++++----- src/allocstale.c | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/xfs/130 | 6 ++- tests/xfs/130.out | 1 tests/xfs/220 | 30 ++++++++++---- tests/xfs/308 | 5 -- tests/xfs/308.out | 2 - tests/xfs/832 | 56 +++++++++++++++++++++++++ tests/xfs/832.out | 2 + 15 files changed, 418 insertions(+), 43 deletions(-) create mode 100644 src/allocstale.c create mode 100755 tests/xfs/832 create mode 100644 tests/xfs/832.out