xfs
[Top] [All Lists]

Re: [PATCH] xfs/073: filter out finobt warning from mkfs.xfs

To: Eryu Guan <eguan@xxxxxxxxxx>
Subject: Re: [PATCH] xfs/073: filter out finobt warning from mkfs.xfs
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 17 Mar 2016 07:00:43 +1100
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, fstests@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160316145418.GT11419@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <1458129204-31882-1-git-send-email-eguan@xxxxxxxxxx> <20160316120416.GA18030@xxxxxxxxxxxxx> <20160316145418.GT11419@xxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Mar 16, 2016 at 10:54:18PM +0800, Eryu Guan wrote:
> On Wed, Mar 16, 2016 at 05:04:16AM -0700, Christoph Hellwig wrote:
> > On Wed, Mar 16, 2016 at 07:53:24PM +0800, Eryu Guan wrote:
> > > When testing xfs/073 with MKFS_OPTIONS="-m crc=1,finobt=1" set, it fails
> > > due to extra warning about disabling finobt feature:
> > > 
> > >  +warning: finobt not supported without CRC support, disabled.
> > > 
> > > Because xfs/073 disables crc unconditionally and finobt can not be
> > > enabled either.
> > 
> > How about explicitly disabling finobt as well?
> 
> I think that's a cleaner way to fix it. Just that some extra work is
> needed to let the test pass with old mkfs.xfs without metadata suport.

This is a downhill slope. e.g. if I add "-i sparse=1" to the mkfs
line, it will warning differently and a new filter is needed. I
would suggest just ignoring the mkfs output altogether (maybe just
dumping it all to $seqres.full) as it's not necessary to determine
whether the test ran correctly or not.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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