From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o8TGPxGi064922 for ; Wed, 29 Sep 2010 11:25:59 -0500 Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 758281E709EC for ; Wed, 29 Sep 2010 09:26:57 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id NXfRRKnNdv2ciA0A for ; Wed, 29 Sep 2010 09:26:57 -0700 (PDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8TGQvCV016324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Sep 2010 12:26:57 -0400 Message-ID: <4CA368CE.3010907@redhat.com> Date: Wed, 29 Sep 2010 11:26:54 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH 2/2] xfstests: Use $MKFS_OPTIONS in _scratch_mkfs_*() References: <1285770951-27000-1-git-send-email-lczerner@redhat.com> <1285770951-27000-2-git-send-email-lczerner@redhat.com> In-Reply-To: <1285770951-27000-2-git-send-email-lczerner@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Lukas Czerner Cc: esandeen@redhat.com, xfs@oss.sgi.com Lukas Czerner wrote: > Pass MKFS_OPTIONS to mkfs.$FSTYP in _scratch_mkfs_sized(). > Preserve user defined MKFS_OPTIONS in _scratch_mkfs_geom(). > --- thanks, this looks good too. both are committed now. -Eric > common.rc | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/common.rc b/common.rc > index 65989c1..52b7125 100644 > --- a/common.rc > +++ b/common.rc > @@ -327,7 +327,7 @@ _scratch_mkfs_sized() > _scratch_mkfs_xfs -d size=$fssize -b size=$blocksize > ;; > ext2|ext3|ext4) > - /sbin/mkfs.$FSTYP -b $blocksize $SCRATCH_DEV $blocks > + /sbin/mkfs.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks > ;; > *) > _notrun "Filesystem $FSTYP not supported in _scratch_mkfs_sized" > @@ -349,10 +349,10 @@ _scratch_mkfs_geom() > > case $FSTYP in > xfs) > - MKFS_OPTIONS="-b size=$blocksize, -d su=$sunit_bytes,sw=$swidth_mult" > + MKFS_OPTIONS+="-b size=$blocksize, -d su=$sunit_bytes,sw=$swidth_mult" > ;; > ext4) > - MKFS_OPTIONS="-b $blocksize -E stride=$sunit_blocks,stripe_width=$swidth_blocks" > + MKFS_OPTIONS+="-b $blocksize -E stride=$sunit_blocks,stripe_width=$swidth_blocks" > ;; > *) > _notrun "can't mkfs $FSTYP with geometry" _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs