From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 752C77FF5 for ; Fri, 15 Mar 2013 06:53:49 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id 3E0EC8F8049 for ; Fri, 15 Mar 2013 04:53:49 -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 uR4vtWt8Iomtz6Ga for ; Fri, 15 Mar 2013 04:53:47 -0700 (PDT) Received: from disappointment ([192.168.1.1]) by dastard with esmtp (Exim 4.76) (envelope-from ) id 1UGTCj-0001Ta-CC 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-0005hx-9h for xfs@oss.sgi.com; Fri, 15 Mar 2013 22:53:35 +1100 From: Dave Chinner Subject: [PATCH 06/13] xfstests: use command line option for setting extra space Date: Fri, 15 Mar 2013 22:53:24 +1100 Message-Id: <1363348411-21867-7-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 Allow the extra free space to leave in large scratch filesystems to be specified by a command line option rather than just via an environment variable. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Rich Johnston --- common | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common b/common index da86cd9..78ac654 100644 --- a/common +++ b/common @@ -247,6 +247,11 @@ s/ .*//p usage ;; + --extra-space=*) + export SCRATCH_DEV_EMPTY_SPACE=${r#*=} + xpand=false + ;; + *) start=$r end=$r -- 1.7.10.4 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs