linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Unclean shutdowns cause google-chrome profile to be corrupted in various ways
Date: Sat, 23 Aug 2014 13:09:42 +0000 (UTC)	[thread overview]
Message-ID: <pan.2014.08.23.13.09.42@googlemail.com> (raw)
In-Reply-To: 20140823123249.GJ3875@merlins.org

On Sat, 23 Aug 2014 05:32:49 -0700, Marc MERLIN wrote:

> [snip]
> Thanks for that data point, so that rules out discard and SSDs.
> 
> Given that, it sounds like btrfs may still have a bug where everything
> does not get to disk in the right order before the system stops.

A popular candidate for this is mmap'ed IO (almost always a bad idea, 
certainly for writes). This almost always goes wrong one way or the 
other, depending on filesystem + block/VFS/mm bugs of the day.

-h


  reply	other threads:[~2014-08-23 13:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-22 15:50 Unclean shutdowns cause google-chrome profile to be corrupted in various ways Marc MERLIN
2014-08-22 17:32 ` Eric Sandeen
2014-08-22 18:46   ` Marc MERLIN
2014-08-22 18:17 ` Duncan
2014-08-22 18:49   ` Marc MERLIN
2014-08-23  2:52     ` Duncan
2014-08-23  3:10       ` Marc MERLIN
2014-08-23  5:45         ` Naohiro Aota
2014-08-23 12:32           ` Marc MERLIN
2014-08-23 13:09             ` Holger Hoffstätte [this message]
2014-08-23  5:56         ` Duncan
2014-08-23 12:34           ` Marc MERLIN

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=pan.2014.08.23.13.09.42@googlemail.com \
    --to=holger.hoffstaette@googlemail.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).