[RFC] read-only filesystem support for NAND flash devices

Atsushi Nemoto anemo at mba.ocn.ne.jp
Thu May 11 10:23:04 EDT 2006


On Wed, 10 May 2006 12:20:58 -0500, "Josh Boyer" <jwboyer at gmail.com> wrote:
> > If I mounted a JFFS2 filesystem on NAND and _never_ write anything (or
> > mounted read-only), does current MTD/NAND/JFFS2 layer handle those bit
> > flips?  I've thought JFFS2 only reassign blocks on writing, so JFFS2
> > also suffer those "bit flips on read" problem, is it right?
> 
> If you truly never write anything, then yes it probably suffers from
> the same problem.  In a typical JFFS2 setup where writes do occur, the
> theory is that garbage collection will eventually reclaim that block. 
> Whether that actually happens or not is largely determined on a per
> use case basis.

Thank you.  Then something like periodical garbage collection will
save the bit flips, but of course unnecessary writes should shorten
the life of the device ...  so ambivalent.

---
Atsushi Nemoto




More information about the linux-mtd mailing list