xfs
[Top] [All Lists]

Re: [PATCH 5/8] xfstests: use command line option for setting extra spac

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 5/8] xfstests: use command line option for setting extra space
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 16 Jan 2012 11:00:58 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1321875088-30801-6-git-send-email-david@xxxxxxxxxxxxx>
References: <1321875088-30801-1-git-send-email-david@xxxxxxxxxxxxx> <1321875088-30801-6-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20111206 Thunderbird/3.1.16
On 01/-10/63 13:59, Dave Chinner wrote:
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>
---
  common |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

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


Nice to have SCRATCH_DEV_EMPTY_SPACE variable and command line entry documented.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 5/8] xfstests: use command line option for setting extra space, Mark Tinguely <=