[PATCH] xfstests: add regression test for extent corruption on ext4
Dmitry Monakhov
dmonakhov at openvz.org
Thu Oct 20 15:38:58 CDT 2011
On Thu, 20 Oct 2011 13:40:15 +0400, Dmitry Monakhov <dmonakhov at openvz.org> wrote:
> On Wed, 19 Oct 2011 14:29:41 +0400, Dmitry Monakhov <dmonakhov at openvz.org> wrote:
> > xfstests: fsstress should kill children tasks before exit
> > xfstests: add different logging option to fsstress
> > xfstests: add fallocate support to fsstress
> > xfstests: fsstress add FS_IOC_{SET,GET}FLAGS operations
> > xfstests: Dump inode info when possible
> > xfstests: add fiemap operation
> >
> > # Following testcase will fail on recent kernel in case of ext4
> > # Some fixes are already available here:
> > # http://www.spinics.net/lists/linux-ext4/msg27857.html
> > xfstests: add new stress test
> FYI: i've run 264'th test on recent tytso/ext4.git(dcf2d804ed6ffe)
> and have got new type of fs-corruption, i haven't seen this before,
> at this moment I dont have a fix for that:
> Pass 1: Checking inodes, blocks, and sizes
> Inode 176 has an invalid extent
> (logical block 236, invalid physical block 0, len 0)
> Clear? no
>
> Inode 22293 has an invalid extent
> (logical block 531, invalid physical block 0, len 0)
> Clear? no
>
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> ...
Ok, this one appears to be easy. eh_entries updated after
ext4_ext_dirty() was called inside ext4_ext_rm_leaf().
Testcase attached, will send a fix for the issue in a minute.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-xfstests-add-regression-test-for-extent-corruption-o.patch
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20111021/8739c20f/attachment.bat>
More information about the xfs
mailing list