lkml.org 
[lkml]   [2009]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2009-01-20 13:15    [W:0.022 / U:0.648 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site