xfs
[Top] [All Lists]

Re: [XFS] 2.6.29-rc2: XFS internal error XFS_WANT_CORRUPTED_GOTO

To: Jacek Luczak <difrost.kernel@xxxxxxxxx>
Subject: Re: [XFS] 2.6.29-rc2: XFS internal error XFS_WANT_CORRUPTED_GOTO
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 20 Jan 2009 07:13:35 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, xfs mailing list <xfs@xxxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>
In-reply-to: <20090120114906.GA12526@xxxxxxxxxxxxx>
References: <497468C1.3000001@xxxxxxxxx> <4974CA20.6050308@xxxxxxxxxxx> <20090120004611.GA6445@disturbed> <20090120112910.GA6831@xxxxxxxxxxxxx> <4975B9C4.7030401@xxxxxxxxx> <20090120114906.GA12526@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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

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