From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id C753C7FEC for ; Fri, 15 Mar 2013 06:53:48 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay3.corp.sgi.com (Postfix) with ESMTP id 55230AC008 for ; Fri, 15 Mar 2013 04:53:48 -0700 (PDT) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id qAgEaETBQ3uR3AWq for ; Fri, 15 Mar 2013 04:53:46 -0700 (PDT) Received: from [192.168.1.1] (helo=disappointment) by dastard with esmtp (Exim 4.76) (envelope-from ) id 1UGTCj-0001TY-9Z for xfs@oss.sgi.com; Fri, 15 Mar 2013 22:53:45 +1100 Received: from dave by disappointment with local (Exim 4.80) (envelope-from ) id 1UGTCZ-0005ho-7r for xfs@oss.sgi.com; Fri, 15 Mar 2013 22:53:35 +1100 From: Dave Chinner Subject: [PATCH 04/13] xfstests: rename RETAIN_AG_BYTES Date: Fri, 15 Mar 2013 22:53:22 +1100 Message-Id: <1363348411-21867-5-git-send-email-david@fromorbit.com> In-Reply-To: <1363348411-21867-1-git-send-email-david@fromorbit.com> References: <1363348411-21867-1-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com From: Dave Chinner 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 --- common.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.rc b/common.rc index edf0318..42d2ddc 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 -- 1.7.10.4 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs