Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322898

Re: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master node issue

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master node issue
Date 2016-02-01 09:30 +0100
Message-ID <qXi1Z-8lp-37@gated-at.bofh.it> (permalink)
References (2 earlier) <qFssN-HZ-5@gated-at.bofh.it> <qFFJn-1cK-1@gated-at.bofh.it> <qVKOK-4TF-17@gated-at.bofh.it> <qVRdw-1om-5@gated-at.bofh.it> <qXgWd-7Ap-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Bean,

Am 01.02.2016 um 08:17 schrieb Bean Huo 霍斌斌 (beanhuo):
>> If you can explain in detail why UBIFS' assumptions are wrong and how such
>> corruptions can happen on SLC we can talk.
>> But I think then we'd have to redo a lot of UBI and UBIFS code.
> 
> I will hack my patch again, and double check these strict checks.
> But I still insist on Master node should always be recovered by another good master,
> even if two corrupted pages exist in one block. This is more reasonable and reliable.
> Of course, so far, we did not meet this scenario on SLC NAND.
> Current UBIFS master node recovery mechanism totally can handle with
> Power loss no matter MLC or SLC, why not let UBIFS more reliable? Two master node blocks
> Just for SLC NAND?

Of course, I'm all for improvements. But if you talk about "more reliable" you have to define
first what the issue is.
As I said, we have this strict checks for reasons and they did a very
good service so far.
I've seen a lot UBIFS corruptions where the master node was damaged but not a single time
it was UBIFS' fault. It was always a subtle MTD driver issue.

Thanks,
//richard

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

RE: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master  node issue Bean Huo 霍斌斌 (beanhuo)   <beanhuo@micron.com> - 2016-01-28 03:50 +0100
  Re: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master  node issue Richard Weinberger <richard@nod.at> - 2016-01-28 10:40 +0100
    RE: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master  node issue Bean Huo 霍斌斌 (beanhuo)   <beanhuo@micron.com> - 2016-02-01 08:20 +0100
      Re: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master  node issue Richard Weinberger <richard@nod.at> - 2016-02-01 09:30 +0100

csiph-web