[BUG] JFFS2 power loss recovery issues on NAND
Jamie Lokier
jamie at shareable.org
Wed Jun 18 08:19:36 EDT 2008
Iwo Mergler wrote:
> Forgive my ignorance - does that mean that not everything in JFFS2 is
> CRC protected?
I think every _individual_ record is CRC protected in JFFS2
_But_ that doesn't always detect file corruption. If JFFS2 records
don't match their CRC, they are treated as if not there.
If there's corrupt data records, that causes holes in files. There's
no I/O error reported to the application, just blocks of zero bytes.
There's no mechanism in JFFS2 to detect that. It requires checksums
at a higher level than individual records.
-- Jamie
More information about the linux-mtd
mailing list