Hi all, There are numerous tests that do things based on the geometry of a mounted filesystem. Before we start adding more tests that do this (e.g. online fsck stress tests), refactor them into common/xfs helpers. 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=refactor-xfs-geometry --- common/populate | 20 +++++------ common/rc | 9 ++++- common/xfs | 103 +++++++++++++++++++++++++++++++++++++++++++++++++------ tests/xfs/097 | 2 + tests/xfs/099 | 2 + tests/xfs/100 | 2 + tests/xfs/101 | 2 + tests/xfs/102 | 2 + tests/xfs/105 | 2 + tests/xfs/112 | 2 + tests/xfs/113 | 2 + tests/xfs/146 | 2 + tests/xfs/147 | 2 + tests/xfs/151 | 3 +- tests/xfs/271 | 2 + tests/xfs/307 | 2 + tests/xfs/308 | 2 + tests/xfs/348 | 2 + tests/xfs/530 | 3 +- 19 files changed, 125 insertions(+), 41 deletions(-)