| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v3 1/2] xfstests: make more tests generic |
| From: | Alex Elder <aelder@xxxxxxx> |
| Date: | Wed, 10 Aug 2011 11:38:43 -0500 |
| Cc: | <xfs@xxxxxxxxxxx>, <linux-fsdevel@xxxxxxxxxxxxxxx>, <linux-btrfs@xxxxxxxxxxxxxxx>, Stefan Behrens <sbehrens@xxxxxxxxxxxxxxxx> |
| In-reply-to: | <20110810163322.GA30292@xxxxxxxxxxxxx> |
| References: | <cover.1312193821.git.sbehrens@xxxxxxxxxxxxxxxx> <c9703ec698de4de685eb6822773d3934452b8334.1312193821.git.sbehrens@xxxxxxxxxxxxxxxx> <20110810155214.GE20461@xxxxxxxxxxxxx> <20110810163322.GA30292@xxxxxxxxxxxxx> |
| Reply-to: | <aelder@xxxxxxx> |
On Wed, 2011-08-10 at 12:33 -0400, Christoph Hellwig wrote: > On Wed, Aug 10, 2011 at 05:52:14PM +0200, David Sterba wrote: > > there's a hardcoded path for mkfs.btrfs in common.rc:_scratch_mkfs_sized() > > > > 335 btrfs) > > 336 /sbin/mkfs.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV -b $fssize > > 337 ;; > > > > I have a /usr/local/ installation of btrfsprogs from git, > > _scratch_mkfs_sized() was not called for btrfs before. > > > > Possible ways to fix this: > > 1) use /sbin/mkfs -t $FSTYP like _scratch_mkfs, or > > 2) set $MKFS_BTRFS_PROG like for some other filesystems > > > > > > What is preferred? > > Please send a patch for variant 2. As soon as we have option using > the generic mkfs wrapper sounds like a good idea. In addition to that > treating btrfs the same way as other filesystems is always good. Whoops, we gave different answers. Do what Christoph says... -Alex |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v3 1/2] xfstests: make more tests generic, Alex Elder |
|---|---|
| Next by Date: | Re: [PATCH v3 1/2] xfstests: make more tests generic, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH v3 1/2] xfstests: make more tests generic, Christoph Hellwig |
| Next by Thread: | Re: [PATCH v3 1/2] xfstests: make more tests generic, Alex Elder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |