From: Christoph Hellwig <hch@infradead.org>
To: Gregory Farnum <gregory.farnum@dreamhost.com>
Cc: Christoph Hellwig <hch@infradead.org>,
Eric Sandeen <sandeen@sandeen.net>,
xfs@oss.sgi.com
Subject: Re: EFSCORRUPTED on mount?
Date: Wed, 23 Nov 2011 10:51:29 -0500 [thread overview]
Message-ID: <20111123155128.GA16436@infradead.org> (raw)
In-Reply-To: <CAF3hT9D1hGh0sj-v4S5tjZBAiztO3OwddSK2dgt8QVLkcWP77A@mail.gmail.com>
On Tue, Nov 22, 2011 at 04:03:15PM -0800, Gregory Farnum wrote:
> We're going to look into this in more detail very shortly. Right now
> all I can tell you is that none of the drives ever actually lost
> power, so unless something is explicitly telling them to clear their
> caches I don't know how the drives could have lost their cache to
> cause a problem like this.
> But for now I'll just see what I can get by zeroing out the log, and
> we'll get back to you again if we manage to reproduce this in a
> situation where we can tell you more definitively about the caching
> and barriers.
I would be very interested in that. The situation you have is fairly
easy to pinpoint down - we do log recovery and find and EFI record
in the log - that is one that logs the intent to free extents.
We haven't found the corresponing EFD record, which cancels it out
as part of the transaction doing the actual freeing. I'd love to
see a log dump of a fs iff this can be reproduced as that would
shows us if we had some sort of bug in recovery.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-11-23 15:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 18:06 EFSCORRUPTED on mount? Gregory Farnum
2011-11-21 21:52 ` Emmanuel Florac
2011-11-21 22:13 ` Ben Myers
2011-11-22 0:21 ` Gregory Farnum
2011-11-22 1:41 ` Dave Chinner
2011-11-22 18:47 ` Gregory Farnum
2011-11-22 18:52 ` Eric Sandeen
2011-11-22 19:29 ` Gregory Farnum
2011-11-22 21:53 ` Eric Sandeen
2011-11-22 22:55 ` Christoph Hellwig
2011-11-23 0:03 ` Gregory Farnum
2011-11-23 15:51 ` Christoph Hellwig [this message]
2011-11-22 22:11 ` Christoph Hellwig
2011-11-22 8:06 ` Emmanuel Florac
2011-11-22 15:06 ` Eric Sandeen
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=20111123155128.GA16436@infradead.org \
--to=hch@infradead.org \
--cc=gregory.farnum@dreamhost.com \
--cc=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/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