linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Random file system corruption in 3.17 (not BTRFS related...?)
Date: Wed, 15 Oct 2014 08:53:07 +0000 (UTC)	[thread overview]
Message-ID: <pan$b3546$7415e0c6$dfeab81a$2cc63289@cox.net> (raw)
In-Reply-To: eff13bd09ee6883785a4be3ab005886b@miceliux.com

Juan Orti Alcaine posted on Wed, 15 Oct 2014 09:08:14 +0200 as excerpted:

> I've also experienced Btrfs corruptions with 3.17.0

> I do readonly snapshots every hour of all the subvolumes, so I have
> hundreds of snapshots.

That's a known issue with read-only snapshots in 3.17.0.  There's quite a 
thread on the list about it.

So I'd suggest either turning off read-only snapshots on 3.17 (which I'm 
running here without snapshots, no problem), possibly switching to 
writable snapshots as they don't seem to trigger the problem, or as you 
mentioned doing already, going back to 3.16.x (x>2 due to another bug, 
latest should be good), until the read-only snapshots issue with 3.17.0 
is traced down and fixed.

Given the approximately two kernel cycles it took for the widely 
reproduced but rather difficult to trace compression-related bug in 3.15 
to be reported in 3.15 and traced and fixed in 3.17-rc2 and 3.16.2, I'd 
guess a fix for this similarly widely reproduced read-only-snapshot-
related bug should be no later than 3.19-rc3 and 3.18.3, possibly rather 
earlier if it proves easier to trace, especially since this one seems to 
have been reported and recognized as widely occurring a bit faster than 
the compression-related bug.  But with testing, etc, it's still likely to 
be late in the 3.18-rc cycle before mainline commit, so it'll probably be 
rather late in the 3.17.x stable cycle, if it makes it at all.  Unless it 
gets picked as a long-term support kernel, the full 3.17 stable cycle 
might in fact be blacklisted for btrfs due to this bug, much like the 
full 3.15 stable cycle ended up being blacklisted due to the compression-
related bug.

So either switch your snapshots to writable if it's not going to 
interfere with your use-case, or stay on the 3.16.x, x>2, stable series 
until the problem is fixed, hopefully with 3.18.0, tho it might be 3.18.2 
or so.  I seriously doubt it'll be longer than that, because it's a well 
reproduced bug which makes it both high priority and easy to test fixes 
for.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2014-10-15  8:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 16:54 Random file system corruption in 3.17 (not BTRFS related...?) Robert White
2014-10-14 17:22 ` David Arendt
2014-10-14 20:06   ` Robert White
2014-10-14 22:35 ` Duncan
2014-10-15  7:08 ` Juan Orti Alcaine
2014-10-15  8:53   ` Duncan [this message]
2014-10-15 13:46   ` Josef Bacik
2014-10-15 14:05     ` Juan Orti Alcaine
2014-10-15 14:30       ` Josef Bacik
2014-10-15 14:34         ` Juan Orti Alcaine
2014-10-15 19:30         ` Rich Freeman
2014-10-15 20:20           ` Josef Bacik
2014-10-17 16:26             ` Filipe David Manana

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$b3546$7415e0c6$dfeab81a$2cc63289@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --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).