[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090120121335.GA19182@infradead.org>
Date: Tue, 20 Jan 2009 07:13:35 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Jacek Luczak <difrost.kernel@...il.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Eric Sandeen <sandeen@...deen.net>,
LKML <linux-kernel@...r.kernel.org>,
xfs mailing list <xfs@....sgi.com>,
Dave Chinner <david@...morbit.com>
Subject: Re: [XFS] 2.6.29-rc2: XFS internal error XFS_WANT_CORRUPTED_GOTO
On Tue, Jan 20, 2009 at 06:49:06AM -0500, Christoph Hellwig wrote:
> > > Just curious: do you have CONFIG_LBD set?
> > >
> > Hi Christoph,
> >
> > the answer is:
> > $ grep LBD .config
> > # CONFIG_LBD is not set
>
> Ok, let me reproduce it without that set..
Ok, on 32-bit x86 without CONFIG_LBD I can reliably reproduce the issue
with the following script:
#!/bin/bash
TESTDIR=/mnt/test
SCRATCHMNT=/mnt/scratch
file=$SCRATCHMNT/f
do_pwrite()
{
offset=`expr $1 \* 512`
end=`expr $2 \* 512`
length=`expr $end - $offset`
xfs_io -d -f $file -c "pwrite $offset $length" >/dev/null
}
mkfs.xfs \
-b size=1024 \
-d file,name=$TESTDIR/fsfile,size=40146592b,agcount=16 \
-i attr=0 \
-l version=1
mount -o loop,rw,noatime,nodiratime $TESTDIR/fsfile $SCRATCHMNT
do_pwrite 30792 31039
do_pwrite 30320 30791
do_pwrite 29688 30319
do_pwrite 29536 29687
do_pwrite 27216 29535
do_pwrite 24368 27215
do_pwrite 21616 24367
do_pwrite 20608 21615
do_pwrite 19680 20607
do_pwrite 19232 19679
do_pwrite 17840 19231
do_pwrite 16928 17839
do_pwrite 15168 16927
do_pwrite 14048 15167
do_pwrite 12152 14047
do_pwrite 11344 12151
do_pwrite 8792 11343
do_pwrite 6456 8791
do_pwrite 5000 6455
do_pwrite 1728 4999
do_pwrite 0 1727
sync
sync
> $SCRATCHMNT/bigfile
#umount $SCRATCH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists