From: Eric Whitney <enwlinux@gmail.com>
To: Eric Whitney <enwlinux@gmail.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: 3.14-rc1 regression - xfstests failures on bigalloc
Date: Thu, 13 Feb 2014 17:39:07 -0500 [thread overview]
Message-ID: <20140213223904.GB11924@wallace> (raw)
In-Reply-To: <20140205184705.GA2157@wallace>
* Eric Whitney <enwlinux@gmail.com>:
> I'm seeing a number of xfstests failures while running on a test file system
> created with the bigalloc feature (xfstest-bld's bigalloc scenario). This
> is a regression since 3.13 final.
>
> For example, generic/013 fails at high frequency (>80% of trials) when
> e2fsck discovers file system damage after the core fsstress workload
> completes:
>
> _check_generic filesystem: filesystem on /dev/vdd is inconsistent
> *** fsck.ext4 output ***
> fsck 1.43-WIP (28-Dec-2013)
> e2fsck 1.43-WIP (28-Dec-2013)
> Pass 1: Checking inodes, blocks, and sizes
> Inode 318, i_blocks is 896, should be 1024. Fix? no
>
> Inode 852, i_blocks is 1024, should be 1152. Fix? no
>
>
> Running additional passes to resolve blocks claimed by more than one inode...
> Pass 1B: Rescanning for multiply-claimed blocks
> Multiply-claimed block(s) in inode 828: 610640 610641 610642 610643 610644 610645 610646 610647 610648 610649 610650 610651 610652 610653 610654 610655
> Multiply-claimed block(s) in inode 852: 610650 610651 610652 610653 610654 610655
> Pass 1C: Scanning directories for inodes with multiply-claimed blocks
> Pass 1D: Reconciling multiply-claimed blocks
> (There are 2 inodes containing multiply-claimed blocks.)
>
> File /fsstress.3033.2/p5/d3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/d19XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/d55X/f50XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (inode #828, mod time Wed Feb 5 13:10:07 2014)
> has 1 multiply-claimed block(s), shared with 1 file(s):
> /fsstress.3033.2/p0/d2X/f2b (inode #852, mod time Wed Feb 5 13:10:07 2014)
> Clone multiply-claimed blocks? no
>
> Delete file? no
>
> File /fsstress.3033.2/p0/d2X/f2b (inode #852, mod time Wed Feb 5 13:10:07 2014)
> has 1 multiply-claimed block(s), shared with 1 file(s):
> /fsstress.3033.2/p5/d3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/d19XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/d55X/f50XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (inode #828, mod time Wed Feb 5 13:10:07 2014)
> Clone multiply-claimed blocks? no
>
> Delete file? no
>
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> Block bitmap differences: +574112 +643936
> Fix? no
>
>
> /dev/vdd: ********** WARNING: Filesystem still has errors **********
>
> /dev/vdd: 3880/86400 files (13.0% non-contiguous), 176096/1382400 blocks
> *** end fsck.ext4 output
> *** mount output ***
> /dev/vda1 on / type ext4 (rw,errors=remount-ro)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> none on /sys/fs/cgroup type tmpfs (rw)
> none on /sys/fs/fuse/connections type fusectl (rw)
> none on /sys/kernel/debug type debugfs (rw)
> none on /sys/kernel/security type securityfs (rw)
> udev on /dev type devtmpfs (rw,mode=0755)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
> tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
> none on /run/shm type tmpfs (rw,nosuid,nodev)
> none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
> none on /sys/fs/pstore type pstore (rw)
> systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
> /dev/vdc on /vdc type ext4 (rw,acl,user_xattr,block_validity)
>
>
> I've also seen generic/068 and generic/075 fail, but have not tried to go
> further into the test sequence.
>
> Reverting 9cb00419fa (ext4: enable punch hole for bigalloc) on 3.14-rc1
> eliminates the regressions. It's clear this patch isn't the root cause, but
> presumably it's exposing some code paths we haven't been exercising.
>
> Separately (I think), I'm seeing the following in dmesg during bigalloc runs
> from time to time. Although this sometimes appears when generic/013 is run,
> it generally doesn't, and sometimes appears when tests do not fail:
>
> EXT4-fs error (device vdd): mb_free_blocks:1433: group 1, block 573360:freeing already freed block (bit 3067); block bitmap corrupt.
> EXT4-fs error (device vdd): ext4_mb_generate_buddy:756: group 1, 28570 clusters in bitmap, 28571 in gd; block bitmap corrupt.
>
> This is new in 3.14-rc1, and does not disappear when reverting 9cb00419fa. I
> haven't had a chance to bisect that yet; I'm currently working on some
> other bug fixes.
>
Here's an update:
These problems remain in 3.14-rc2.
The good news is that reverting 6ae06ff51eab (ext4: optimize starting extent
in ext4_ext_rm_leaf()) eliminates the generic/013 and 075 failures described
above in the first xfstest-bld bigalloc test run I've made (generic/068 was
accidentally blacklisted). The test results for the complete bigalloc run
were comparable to those I've got for 3.13 on the same test configuration in
terms of test success and failure. Shared/298 did fail fsck after the core
of the test completed, and that was new since 3.13.
However, another problem may remain (especially given the fsck failure for
shared/298). Messages like the following appeared in the kernel log in a
couple of instances:
EXT4-fs error (device vdd): ext4_mb_free_metadata:4554: group 1, block 754704:Block already on to-be-freed list
Shared/298 generated most of these, while generic/311 generated one.
Generic/311 failed, as it did in 3.13.
Thanks,
Eric
prev parent reply other threads:[~2014-02-13 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 18:47 3.14-rc1 regression - xfstests failures on bigalloc Eric Whitney
2014-02-13 22:39 ` Eric Whitney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140213223904.GB11924@wallace \
--to=enwlinux@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox