[RFC PATCH v3 0/3] xfs: testcases for shrinking free space in the last AG

Gao Xiang
2021-03-15T11:21:00Z

Hi,

This version matches
kernel v8: https://lore.kernel.org/r/20210305025703.3069469-1-hsiangkao@redhat.com
xfsprogs RFC: https://lore.kernel.org/r/20201028114010.545331-1-hsiangkao@redhat.com

and mainly addresses comments for the previous version.

Thanks,
Gao Xinag

changes since RFC v2:
- [1/3] add _require_scratch to _require_xfs_shrink() (Zorro);
- [1/3] drop unneeded _scratch_unmount (Zorro);
- [2/3] add _repair_scratch_fs for each test (Zorro);
- [2/3] check new size after shrinking (Zorro);
- [2/3] drop unneeded _scratch_unmount (Zorro);
- [3/3] update group as "auto growfs ioctl prealloc stress" to follow xfs/104 (Zorro);
- [3/3] use generic falloc instead of resvsp (Darrick).

Gao Xiang:
common/xfs: add a _require_xfs_shrink helper
xfs: basic functionality test for shrinking free space in the last AG
xfs: stress test for shrinking free space in the last AG

common/xfs | 11 +++++
tests/xfs/990 | 70 ++++++++++++++++++++++++++
tests/xfs/990.out | 12 +++++
tests/xfs/991 | 122 ++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/991.out | 8 +++
tests/xfs/group | 2 +
6 files changed, 225 insertions(+)
create mode 100755 tests/xfs/990
create mode 100644 tests/xfs/990.out
create mode 100755 tests/xfs/991
create mode 100644 tests/xfs/991.out

--
2.27.0