From: Dave Chinner Date: Fri, 15 Mar 2013 11:53:22 +0000 (+0000) Subject: xfstests: rename RETAIN_AG_BYTES X-Git-Tag: v2022.05.01~3508 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9fcf80a7506bb81d96d79f59dab1977c5a8fa591;p=xfstests-dev.git xfstests: rename RETAIN_AG_BYTES Rename the $RETAIN_AG_BYTES variable to be more generic so that it reflects the fact that it is designed to retain a certain amount of extra free space above the default amount in the filesystem when doing large scratch device testing. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston --- diff --git a/common.rc b/common.rc index edf0318f..42d2ddcf 100644 --- a/common.rc +++ b/common.rc @@ -311,8 +311,8 @@ _scratch_mkfs_xfs() rm -f $tmp_dir.mkfserr $tmp_dir.mkfsstd if [ "$LARGE_SCRATCH_DEV" = yes ]; then - [ -z "$RETAIN_AG_BYTES" ] && RETAIN_AG_BYTES=0 - ./tools/ag-wipe -q -r $RETAIN_AG_BYTES $SCRATCH_DEV + [ -z "$SCRATCH_DEV_EMPTY_SPACE" ] && SCRATCH_DEV_EMPTY_SPACE=0 + ./tools/ag-wipe -q -r $SCRATCH_DEV_EMPTY_SPACE $SCRATCH_DEV fi return $mkfs_status