From: Adam Borowski <kilobyte@angband.pl>
To: Liu Bo <bo.li.liu@oracle.com>
Cc: Jeff Mahoney <jeffm@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: corrupt leaf on just-created filesystem
Date: Fri, 16 Dec 2016 22:37:20 +0100 [thread overview]
Message-ID: <20161216213720.GA26707@angband.pl> (raw)
In-Reply-To: <20161216185348.GA2002@localhost.localdomain>
On Fri, Dec 16, 2016 at 10:53:48AM -0800, Liu Bo wrote:
> On Fri, Dec 16, 2016 at 10:44:11AM -0500, Jeff Mahoney wrote:
> > On 12/16/16 4:18 AM, Adam Borowski wrote:
> > > Got a 100% reproducible splat on 4.9.
> > >
> > > So I plopped in a fresh 4TB disk:
> > >
> > > dd if=/dev/zero of=meow bs=1 seek=4000785104895 count=1
> > > mkfs -t btrfs meow
> > > mount -onoatime meow /mnt/vol1
> > > cd /mnt/vol1
> > > btrfs subv create foo
> >
> > The check here is still broken. There's no corruption on disk. The big
> > thing is that we need to audit when we mark the buffer dirty.
> >
> > I do my testing with integrity checking enabled and that means that I
> > need to #if 0 out the check in cheak_leaf for now.
>
> Hi Adam and Jeff,
>
> Chris just sent out the git pull for 4.10 merge window, which contains
> the two fixes that can address your problems
Confirmed, the pull fixes this zonk, cool!
> I'm not surprised that we may have more corner cases to report false
> corruption around this ASSERT, and I agree with Jeff, it's always better
> to hit a ASSERT rather than spending days in figuring out where
> corruption comes from.
Aye, I'm religious about keeping asserts when possible, even in production
-- much better to have a noisy crash than silent data loss.
Meow!
--
u-boot problems can be solved with the help of your old SCSI manuals, the
parts that deal with goat termination. You need a black-handled knife, and
an appropriate set of candles (number and color matters). Or was it a
silver-handled knife? Crap, need to look that up.
prev parent reply other threads:[~2016-12-16 21:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-16 9:18 corrupt leaf on just-created filesystem Adam Borowski
2016-12-16 15:44 ` Jeff Mahoney
2016-12-16 18:53 ` Liu Bo
2016-12-16 21:37 ` Adam Borowski [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=20161216213720.GA26707@angband.pl \
--to=kilobyte@angband.pl \
--cc=bo.li.liu@oracle.com \
--cc=jeffm@suse.com \
--cc=linux-btrfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).