xfs
[Top] [All Lists]

[PATCH 06/13] xfstests: use command line option for setting extra space

To: xfs@xxxxxxxxxxx
Subject: [PATCH 06/13] xfstests: use command line option for setting extra space
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 15 Mar 2013 22:53:24 +1100
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1363348411-21867-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1363348411-21867-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

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 <dchinner@xxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Rich Johnston <rjohnston@xxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>