All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Sheng Yong <shengyong1@huawei.com>, Adam <aps337@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Corrupt Empty Space Error at Runtime
Date: Mon, 21 Dec 2015 08:47:47 +0100	[thread overview]
Message-ID: <5677AEA3.7010208@nod.at> (raw)
In-Reply-To: <56775906.2040506@huawei.com>

Hi!

Am 21.12.2015 um 02:42 schrieb Sheng Yong:
> We have met several empty space corruptions these days, since the ECC
> functionality of the NAND controller driver seems not work correctly.
> But we are still considering if there is any workaroud to let UBIFS
> check if the corruption occurs really in empty space. If it is, UBIFS
> should recover the LEB.
> 
> There are 2 conditions we may check:
> 1. the left space size is less than the min size of a node, it must be
>    empty space;
> 2. how many bits are fliped in left space, if they are less than 4 bits
>    (many NAND support 1~4 bits ECC), it should be in empty space;

Please consider fixing the driver first.
We also have patches for gpmi. Maybe we can find a common way
to fix this clearly within MTD without weakening UBIFS.

Thanks,
//richard

      reply	other threads:[~2015-12-21  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 16:38 Corrupt Empty Space Error at Runtime Adam
2015-12-18 21:49 ` Richard Weinberger
2015-12-21  1:42   ` Sheng Yong
2015-12-21  7:47     ` Richard Weinberger [this message]

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=5677AEA3.7010208@nod.at \
    --to=richard@nod.at \
    --cc=aps337@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=shengyong1@huawei.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 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.