Re: 3.9.3: Oops running xfstests

CAI Qian
2013-05-30T05:40:36Z

----- Original Message -----
> From: "Dave Chinner" <david@fromorbit.com>
> To: "CAI Qian" <caiqian@redhat.com>
> Cc: xfs@oss.sgi.com, stable@vger.kernel.org
> Sent: Thursday, May 30, 2013 1:20:49 PM
> Subject: Re: 3.9.3: Oops running xfstests
>
> On Wed, May 29, 2013 at 11:45:28PM -0400, CAI Qian wrote:
> > Also reproduced this on 3.9.4 on several different machines.
>
> How? what workload are you running that causes it to occur?
I have been running the following workloads, trinity, ltp (including
oom tests and some filesystem tests), some hugetlbfs tests, selinux
test suite, tracepoint tests, connectathon tests and then xfstests.
I am still trying to narrow down the minimal workload that could
reproduce this.
>
> <snip stack trace showing page overrun in
> xfs_attr_leaf_compact/xfs_attr_leaf_moveents>
>
> > System information is below:
> >
> > + cat /proc/mounts
> ....
> > /dev/mapper/rhel_hp--xw9400--02-root / xfs
> > rw,seclabel,relatime,attr2,inode64,noquota 0 0
> > /dev/mapper/rhel_hp--xw9400--02-home /home xfs
> > rw,seclabel,relatime,attr2,inode64,noquota 0 0
> > /dev/sda1 /boot xfs rw,seclabel,relatime,attr2,inode64,noquota 0 0
>
> Which of these filesystems did it happen on? Or some other
> filesystem not mounted when you took this snapshot?
+ export TEST_DEV=/dev/mapper/rhel_hp--bl495cg5--02-swap
+ TEST_DEV=/dev/mapper/rhel_hp--bl495cg5--02-swap
+ export TEST_DIR=/mnt/testarea/test
+ TEST_DIR=/mnt/testarea/test
+ export SCRATCH_DEV=/dev/mapper/rhel_hp--bl495cg5--02-home
+ SCRATCH_DEV=/dev/mapper/rhel_hp--bl495cg5--02-home
+ export SCRATCH_MNT=/mnt/testarea/scratch
+ SCRATCH_MNT=/mnt/testarea/scratch
+ mkdir -p /mnt/testarea/test
home = /dev/mapper/rhel_hp--bl495cg5--02-home
+ mkdir -p /mnt/testarea/scratch
+ mkfs.xfs -f /dev/mapper/rhel_hp--bl495cg5--02-swap
meta-data=/dev/mapper/rhel_hp--bl495cg5--02-swap isize=256 agcount=4, agsize=510976 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=2043904, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
+ mkfs.xfs -f /dev/mapper/rhel_hp--bl495cg5--02-home
meta-data=/dev/mapper/rhel_hp--bl495cg5--02-home isize=256 agcount=4, agsize=1103872 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=4415488, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
>
> And can you post the xfs_info output of the filesystems under test,
> too?
xfs_info: /dev/mapper/rhel_hp--bl495cg5--02-swap is not a mounted XFS filesystem
+ echo

+ xfs_info /dev/mapper/rhel_hp--bl495cg5--02-home
meta-data=/dev/mapper/rhel_hp--bl495cg5--02-home isize=256 agcount=4, agsize=1103872 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=4415488, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
CAI Qian
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@fromorbit.com