mbox series

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

Message ID 20210312132300.259226-1-hsiangkao@redhat.com (mailing list archive)
Headers show
Series xfs: testcases for shrinking free space in the last AG | expand

Message

Gao Xiang March 12, 2021, 1:22 p.m. UTC
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 v1:
 - add a _require_xfs_shrink helper (Zorro, Darrick);
 - introduce a basic functionality test (Darrick);
 - drop prefix "_" for all functions in tests (Darrick);
 - introduce TIME_FACTOR and LOAD_FACTOR to adjust the load (Darrick);
 - move $decsize out of the loop (Darrick);
 - use $XFS_GROWFS_PROG instead of xfs_growfs (Darrick);
 - query the running size instead of calculating (Darrick).

 common/xfs        |  10 ++++
 tests/xfs/990     |  59 ++++++++++++++++++++++
 tests/xfs/990.out |  12 +++++
 tests/xfs/991     | 121 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/991.out |   8 +++
 tests/xfs/group   |   2 +
 6 files changed, 212 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