From: Eryu Guan <eguan@redhat.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [BUG] sb_fdblocks counting error caused by too large indlen returned from xfs_bmap_worst_indlen()
Date: Sat, 2 Sep 2017 15:49:45 +0800 [thread overview]
Message-ID: <20170902074945.GT27835@eguan.usersys.redhat.com> (raw)
In-Reply-To: <20170710161824.GI4103@magnolia>
On Mon, Jul 10, 2017 at 09:18:24AM -0700, Darrick J. Wong wrote:
> On Sun, Jul 09, 2017 at 10:08:18PM +0800, Eryu Guan wrote:
> > On Fri, Jul 07, 2017 at 11:49:37PM -0700, Darrick J. Wong wrote:
> > > On Fri, Jul 07, 2017 at 08:01:43PM +0800, Eryu Guan wrote:
> > > > Hi all,
> > > >
> > > > I recently hit a repeatable sb_fdblocks corruption as below:
> > > >
> > > > Phase 1 - find and verify superblock...
> > > > Phase 2 - using internal log
> > > > - zero log...
> > > > - scan filesystem freespace and inode maps...
> > > > sb_fdblocks 14538692, counted 14669764
> > > > - found root inode chunk
> > > > Phase 3 - for each AG...
> > > > ...
> > > >
> > > > And the count diff is always 14669764 - 14538692 = 131072 (128k). The
> > > > XFS in question was formated with "-m rmapbt=1 -b 1k" option.
I hit this corruption again today in my fstests release testing, and it
reminded me this old thread :)
...
> > >
> > > So maybe the solution is to revert this patch and see if generic/224
> > > still blows up when suint/swidth are set? I tried the steps given in
> > > your email from 18 Nov 2016 ("[BUG] dd doesn't return on ENOSPC and hang
> > > when fulfilling rmapbt XFS") with sunit=32,swidth=224 (numbers I
> > > entirely made up) and it ran just fine. I then ran it with the
> > > reproducer steps you outlined above, and that ran just fine too.
> > > I did not run the rest of xfstests.
> >
> > Reverting commit fd26a88093ba works for me, I can't reproduce the
> > sb_fdblocks accounting error nor the dd hang bug.
>
> <nod> I'll consider posting a revert patch for the post -rc1 fixes.
>
> But... merge window stuff comes first. :)
Is reverting commit fd26a88093ba still the plan? Maybe we can do it for
4.14.
Thanks,
Eryu
next prev parent reply other threads:[~2017-09-02 7:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 12:01 [BUG] sb_fdblocks counting error caused by too large indlen returned from xfs_bmap_worst_indlen() Eryu Guan
2017-07-08 6:49 ` Darrick J. Wong
2017-07-09 14:08 ` Eryu Guan
2017-07-10 16:18 ` Darrick J. Wong
2017-07-11 0:08 ` Dave Chinner
2017-07-11 11:09 ` Eryu Guan
2017-09-02 7:49 ` Eryu Guan [this message]
2017-09-02 15:20 ` Darrick J. Wong
2017-09-03 4:01 ` Eryu Guan
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=20170902074945.GT27835@eguan.usersys.redhat.com \
--to=eguan@redhat.com \
--cc=darrick.wong@oracle.com \
--cc=linux-xfs@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.