Hi all, Fix a few regressions in fstests when rmap is enabled on the realtime volume. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. 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=realtime-rmap xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=realtime-rmap fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=realtime-rmap xfsdocs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-documentation.git/log/?h=realtime-rmap --- Commits in this patchset: * xfs: fix tests that try to access the realtime rmap inode * xfs/336: port to common/metadump * fuzz: for fuzzing the rtrmapbt, find the path to the rt rmap btree file * xfs: race fsstress with realtime rmap btree scrub and repair * xfs: fix various problems with fsmap detecting the data device * xfs/341: update test for rtgroup-based rmap * xfs/3{43,32}: adapt tests for rt extent size greater than 1 * xfs/291: use _scratch_mkfs_sized instead of opencoding the logic * xfs: skip tests if formatting small filesystem fails * xfs/443: use file allocation unit, not dbsize * populate: adjust rtrmap calculations for rtgroups * populate: check that we created a realtime rmap btree of the given height * fuzzy: create missing fuzz tests for rt rmap btrees --- common/populate | 36 +++++++++++++++++++++++++ common/xfs | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/xfs/104 | 1 + tests/xfs/122.out | 1 - tests/xfs/1528 | 38 +++++++++++++++++++++++++++ tests/xfs/1528.out | 4 +++ tests/xfs/1529 | 37 ++++++++++++++++++++++++++ tests/xfs/1529.out | 4 +++ tests/xfs/1817 | 39 +++++++++++++++++++++++++++ tests/xfs/1817.out | 2 + tests/xfs/1821 | 45 ++++++++++++++++++++++++++++++++ tests/xfs/1821.out | 2 + tests/xfs/1857 | 39 +++++++++++++++++++++++++++ tests/xfs/1857.out | 2 + tests/xfs/1893 | 2 + tests/xfs/272 | 2 + tests/xfs/276 | 2 + tests/xfs/277 | 2 + tests/xfs/291 | 2 + tests/xfs/332 | 6 +--- tests/xfs/332.out | 2 - tests/xfs/333 | 43 ------------------------------ tests/xfs/333.out | 6 ---- tests/xfs/336 | 34 ++++++++---------------- tests/xfs/336.out | 4 +-- tests/xfs/337 | 2 + tests/xfs/338 | 30 ++++++++++++++++++--- tests/xfs/339 | 5 ++-- tests/xfs/340 | 25 ++++++++++++++---- tests/xfs/341 | 12 +++----- tests/xfs/341.out | 1 - tests/xfs/342 | 4 +-- tests/xfs/343 | 2 + tests/xfs/406 | 6 +++- tests/xfs/407 | 6 +++- tests/xfs/408 | 7 ++++- tests/xfs/409 | 7 ++++- tests/xfs/443 | 9 ++++-- tests/xfs/481 | 6 +++- tests/xfs/482 | 7 ++++- 40 files changed, 429 insertions(+), 129 deletions(-) create mode 100755 tests/xfs/1528 create mode 100644 tests/xfs/1528.out create mode 100755 tests/xfs/1529 create mode 100644 tests/xfs/1529.out create mode 100755 tests/xfs/1817 create mode 100644 tests/xfs/1817.out create mode 100755 tests/xfs/1821 create mode 100644 tests/xfs/1821.out create mode 100755 tests/xfs/1857 create mode 100644 tests/xfs/1857.out delete mode 100755 tests/xfs/333 delete mode 100644 tests/xfs/333.out