Re: Some news for this: [PATCH] [MTD] BLOCK_RO: Readonly Block Device Layer Over MTD ?

Gregory CLEMENT
2007-11-21T22:43:47Z

2007/11/21, Jörn Engel <joern@logfs.org>:
> On Wed, 21 November 2007 21:46:16 +0100, Ricard Wanderlof wrote:
> > On Wed, 21 Nov 2007, Josh Boyer wrote:
> >
> > > > > What problem does the driver solve?
> > > > It allow to use cramfs/squashfs/fat in read-only on NAND flash for
> > > > embedded systems.
> > >
> > > Not really. It allows you to put one of those filesystems into
> > > NAND using a bad-block aware program initially, and mount it. It
> > > doesn't handle run-time bit flips or errors from what I can see.
> >
> > Won't ECC take care of spurious bit flips?
>
> Single-bit, yes. Once you accumulated a bunch of them in proximity, it
> may no longer work.

That's mean that we can't have safe data on NAND flash device, isn't it?
If data is corrupted between tow read even journalized are log file
system will loose data.
Either there is a mechanism I missed in this file system or 2 bits
flipped are so rare that this event can be ignored.

--
Gregory CLEMENT
Adeneo
Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41