[PATCH 2/4] xfstests: add test to reproduce bmap btree corruption.
Dave Chinner
david at fromorbit.com
Tue Feb 1 20:17:41 CST 2011
On Tue, Feb 01, 2011 at 07:29:54PM -0600, Alex Elder wrote:
> On Tue, 2011-01-25 at 14:58 +1100, Dave Chinner wrote:
> > From: Dave Chinner <dchinner at redhat.com>
> >
> > The problem was reprted here:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=626244
> >
> > With the simple test case:
> >
> > # mkfs.xfs -f -d agsize=16m,size=50g <dev>
> > # mount <dev> /mnt
> > # xfs_io -f -c 'resvsp 0 40G' /mnt/foo
> >
> > Triggering the problem. Turn this into a new xfsqa test so that we
> > exercise the problem code and prevent future regressions.
> >
> > Signed-off-by: Dave Chinner <dchinner at redhat.com>
>
> This looks good, HOWEVER, since the test crashes
> the target system please remove it from (at least)
> the "auto" group before you commit.
If causes an assert failure on a DEBUG kernel, a shutdown on a
non-debug kernel. Either way, I'd prefer to leave it enabled as a
good reminder that we need to fix the damn bug (*) sooner rather
than later...
(*) This patch prevents the assert failure, but, like Lachlan, I'm
not sure it is the right fix.
http://oss.sgi.com/archives/xfs/2010-09/msg00337.html
I'm working on it at the moment, along with all the other allocation
things...
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list