Hi, This adds testcases for shrinking free space in the last AG in the upstream. This version mainly addresses Darrick's previous comments. (and I've checked with "512m logdev with USE_EXTERNAL and SCRATCH_LOGDEV without issues) changes since v4 (Darrick): - [1/3] check xfs_growfs output instead; - [2/3] fix a typo; - [2/3] echo statements rather than fail out; - [3/3] avoid unncessary scale due to _scale_fsstress_args; - [3/3] inject a bit randomness to decsize; - [3/3] use '_scratch_xfs_repair -n' instead. Thanks, Gao Xiang Gao Xiang (3): common/xfs: add _require_xfs_scratch_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 | 20 ++++++++ tests/xfs/990 | 73 ++++++++++++++++++++++++++++ tests/xfs/990.out | 12 +++++ tests/xfs/991 | 120 ++++++++++++++++++++++++++++++++++++++++++++++ tests/xfs/991.out | 8 ++++ tests/xfs/group | 2 + 6 files changed, 235 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