[PATCHSET v6.2 7/7] fstests: enable quota for realtime volumes

Darrick J. Wong
2025-01-16T23:25:11Z

Hi all,

The sole patch in this series sets up functional testing for quota on
the xfs realtime device.

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-quotas

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

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=realtime-quotas
---
Commits in this patchset:
* common: enable testing of realtime quota when supported
* xfs: fix quota tests to adapt to realtime quota
* xfs: regression testing of quota on the realtime device
---
common/populate | 10 ++-
common/quota | 45 ++++++++-----
common/xfs | 62 +++++++++++++++++++
tests/generic/219 | 1
tests/generic/230 | 1
tests/generic/305 | 1
tests/generic/326 | 1
tests/generic/327 | 1
tests/generic/328 | 1
tests/generic/566 | 4 +
tests/generic/587 | 1
tests/generic/603 | 1
tests/generic/691 | 2 +
tests/generic/710 | 4 +
tests/xfs/050 | 2 +
tests/xfs/096 | 4 +
tests/xfs/106 | 1
tests/xfs/108 | 2 +
tests/xfs/152 | 1
tests/xfs/153 | 2 +
tests/xfs/161 | 1
tests/xfs/1858 | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/1858.out | 47 ++++++++++++++
tests/xfs/213 | 1
tests/xfs/214 | 1
tests/xfs/220 | 2 +
tests/xfs/299 | 2 +
tests/xfs/330 | 1
tests/xfs/434 | 1
tests/xfs/435 | 1
tests/xfs/440 | 3 +
tests/xfs/441 | 1
tests/xfs/442 | 1
tests/xfs/508 | 2 +
tests/xfs/511 | 10 +++
tests/xfs/720 | 5 +
36 files changed, 377 insertions(+), 23 deletions(-)
create mode 100755 tests/xfs/1858
create mode 100644 tests/xfs/1858.out