All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Mathieu Belanger <admin@korinar.com>
Cc: "Mathieu Bélanger" <b747xx@gmail.com>,
	"Reiserfs development mailing list"
	<reiserfs-devel@vger.kernel.org>
Subject: Re: [BUG] Big fiability issue?
Date: Wed, 6 Apr 2016 18:32:04 +0200	[thread overview]
Message-ID: <57053A04.5020501@gmail.com> (raw)
In-Reply-To: <20160406092540.abbb5f64954b9ca3d18c6b95@korinar.com>



On 04/06/2016 04:25 PM, Mathieu Belanger wrote:
> Well, I did boot systemrescuecd to fsck my /dev/sda2 and mount it ro to
> do the backup and I was able to get all the data back but with a bonus :
> I can mount the fscked /dev/sda2 in rw on systemrescuecd, the corruption
> don't come back. SystemrescueCD is based on Gentoo I think. But the one
> I got got a 3.18 kernel.


Please, mount it with "no_write_barrier" option on all kernels older
than 4.5.1 (not yet released). Horrible name, of course: this should
sound like "no_block_write_barrier", or something like this, but it is
too late to fix...

Thanks,
Edward.


>   I did manually compile the latest tools to be
> sure and a got an error because 3.18 support format40 4.0.0, not 4.0.1
> but that error did not affect me.
>
> I will do more test with that "corrupt" partition before restorating
> the backup.
>
> On Tue, 5 Apr 2016 17:43:45 +0200
> Edward Shishkin <edward.shishkin@gmail.com> wrote:
>
>> Hello Mathieu,
>>
>> I found that by default reiser4 still relies on a block layer feature,
>> which is not longer supported. This is so-called "barriers". And yes,
>> on the power outage bad things are bound to happen. However, it
>> is up to bad luck.
>>
>> The attached patch removes the rest of block barriers support in
>> reiser4. So, now we honestly wait for IO completion of wandered
>> blocks (overwrite set) before submitting a journal header (journal
>> footer).
>>
>> Not sure if it will address your problem though. Also, data corruption
>> after rw-mounting of checked (rebuild-fs) partition is still a concern.
>>
>> Thanks,
>> Edward.
>


  parent reply	other threads:[~2016-04-06 16:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05 15:43 [BUG] Big fiability issue? Edward Shishkin
2016-04-06  0:23 ` Ivan Shapovalov
2016-04-06 15:03   ` Edward Shishkin
2016-04-06 14:25 ` Mathieu Belanger
2016-04-06 14:35   ` Mathieu Belanger
2016-04-06 16:32   ` Edward Shishkin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-03 17:44 Mathieu Belanger

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=57053A04.5020501@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=admin@korinar.com \
    --cc=b747xx@gmail.com \
    --cc=reiserfs-devel@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.