jffs2_get_inode_nodes(): Data CRC failed on NAND device
Josh Boyer
jdub at us.ibm.com
Mon Feb 14 13:08:01 EST 2005
On Mon, 2005-02-14 at 18:58 +0100, Frédéric Janot wrote:
> >
> Does that mean that I have to call fsync each time after fclose a file ?
> Even if I do not edit some files, I get this kind of error. Does that
> mean something (jffs2 itself or other) write some data to the flash all
> the time ?
Sorta. See below.
>
> >Some data may remain in the page buffer and is never written
> >to the Flash.
> >
> >
> So I really loose some data :(
Maybe not. It could be a GC node that was cut short. In that case, you
shouldn't loose any data since the original node should still be in
place.
> It is an embedded board without power supervisor. I cannot detect when
> the customer power down the board :(
If you are worried about data loss, then fsync/sync is probably what you
should do.
josh
More information about the linux-mtd
mailing list