[PATCHSET v5.0 1/3] fstests: test XFS metadata directories

Darrick J. Wong
2024-10-11T00:37:10Z

Hi all,

Adjust fstests as needed to support the XFS metadata directory feature,
and add some new tests for online fsck and fuzz testing of the ondisk
metadata.

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=metadir

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

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=metadir

xfsdocs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-documentation.git/log/?h=metadir
---
Commits in this patchset:
* xfs/122: fix metadirino
* various: fix finding metadata inode numbers when metadir is enabled
* xfs/{030,033,178}: forcibly disable metadata directory trees
* common/repair: patch up repair sb inode value complaints
* xfs/206: update for metadata directory support
* xfs/{050,144,153,299,330}: update quota reports to handle metadir trees
* xfs/509: adjust inumbers accounting for metadata directories
* xfs/122: adjust for metadata directories
* xfs: create fuzz tests for metadata directories
* xfs/163: bigger fs for metadir
* xfs: test metapath repairs
---
common/filter | 7 ++-
common/repair | 4 ++
common/xfs | 85 ++++++++++++++++++++++++++++++++++++-
tests/xfs/007 | 16 ++++---
tests/xfs/030 | 1
tests/xfs/033 | 1
tests/xfs/050 | 5 ++
tests/xfs/122.out | 4 +-
tests/xfs/153 | 5 ++
tests/xfs/1546 | 34 +++++++++++++++
tests/xfs/1546.out | 4 ++
tests/xfs/1547 | 34 +++++++++++++++
tests/xfs/1547.out | 4 ++
tests/xfs/1548 | 34 +++++++++++++++
tests/xfs/1548.out | 4 ++
tests/xfs/1549 | 35 +++++++++++++++
tests/xfs/1549.out | 4 ++
tests/xfs/1550 | 34 +++++++++++++++
tests/xfs/1550.out | 4 ++
tests/xfs/1551 | 34 +++++++++++++++
tests/xfs/1551.out | 4 ++
tests/xfs/1552 | 34 +++++++++++++++
tests/xfs/1552.out | 4 ++
tests/xfs/1553 | 35 +++++++++++++++
tests/xfs/1553.out | 4 ++
tests/xfs/163 | 2 -
tests/xfs/178 | 1
tests/xfs/1874 | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/1874.out | 19 ++++++++
tests/xfs/206 | 1
tests/xfs/299 | 1
tests/xfs/330 | 6 ++-
tests/xfs/509 | 23 +++++++++-
tests/xfs/529 | 5 +-
tests/xfs/530 | 6 +--
tests/xfs/739 | 9 +---
tests/xfs/740 | 9 +---
tests/xfs/741 | 9 +---
tests/xfs/742 | 9 +---
tests/xfs/743 | 9 +---
tests/xfs/744 | 9 +---
tests/xfs/745 | 9 +---
tests/xfs/746 | 9 +---
43 files changed, 610 insertions(+), 79 deletions(-)
create mode 100755 tests/xfs/1546
create mode 100644 tests/xfs/1546.out
create mode 100755 tests/xfs/1547
create mode 100644 tests/xfs/1547.out
create mode 100755 tests/xfs/1548
create mode 100644 tests/xfs/1548.out
create mode 100755 tests/xfs/1549
create mode 100644 tests/xfs/1549.out
create mode 100755 tests/xfs/1550
create mode 100644 tests/xfs/1550.out
create mode 100755 tests/xfs/1551
create mode 100644 tests/xfs/1551.out
create mode 100755 tests/xfs/1552
create mode 100644 tests/xfs/1552.out
create mode 100755 tests/xfs/1553
create mode 100644 tests/xfs/1553.out
create mode 100755 tests/xfs/1874
create mode 100644 tests/xfs/1874.out