From: "Jörn Engel" <joern@logfs.org>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org,
Alexey Korolev <akorolev@infradead.org>,
Iwo Mergler <iwo@call-direct.com.au>
Subject: Re: [BUG] JFFS2 power loss recovery issues on NAND
Date: Tue, 17 Jun 2008 11:24:34 +0200 [thread overview]
Message-ID: <20080617092434.GA27539@logfs.org> (raw)
In-Reply-To: <48577212.9070004@parrot.com>
On Tue, 17 June 2008 10:13:06 +0200, Matthieu CASTET wrote:
> Iwo Mergler wrote:
> >
> > About how to fix it - what about making the reading without ECC the default
> > and only re-reading with ECC if JFFS2 finds an invalid checksum?
> >
> But what happen if a but flip happen ?
The exact same problem.
Changing the default is bogus. Re-reading without ecc on invalid
checksums may be the only solution for jffs2, though. Either that or
close your eyes and claim that holes in files can happen on power loss.
Jörn
--
Fancy algorithms are buggier than simple ones, and they're much harder
to implement. Use simple algorithms as well as simple data structures.
-- Rob Pike
next prev parent reply other threads:[~2008-06-17 9:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 13:57 [BUG] JFFS2 power loss recovery issues on NAND Alexey Korolev
2008-06-17 1:03 ` Iwo Mergler
2008-06-17 8:13 ` Matthieu CASTET
2008-06-17 9:24 ` Jörn Engel [this message]
2008-06-17 16:00 ` Alexey Korolev
2008-06-17 16:57 ` Jörn Engel
2008-06-17 23:51 ` Iwo Mergler
2008-06-18 12:19 ` Jamie Lokier
2008-06-18 12:33 ` David Woodhouse
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=20080617092434.GA27539@logfs.org \
--to=joern@logfs.org \
--cc=akorolev@infradead.org \
--cc=dwmw2@infradead.org \
--cc=iwo@call-direct.com.au \
--cc=linux-mtd@lists.infradead.org \
--cc=matthieu.castet@parrot.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox