Re: data loss on jffs2 filesystem on dataflash

Artem B. Bityuckiy
2005-09-14T12:31:40Z

Peter Menzebach wrote:
> Hi,
> I loose files, which I write on a jffs2 filesystem.
Do you have sumary enabled ? If yes, try to disable it.

> Maybe someone can give me a pointer, what might be wrong.
Frankly, I do not know DataFlash specificity but I have several basic
questions bellow :)

> mount /conf
> JFFS2 write-buffering enabled (8448)
> [JFFS2 DBG] (109) __jffs2_dbg_dump_block_lists_nolock: dump JFFS2 blocks
[snip]
> [JFFS2 DBG] (111) jffs2_add_full_dnode_to_inode: adding node 0x00-0x04
Why I don't see messages from scan.c? Strange.

> [root@armbox /root]$
[snip]
> PM: dataflash_write: 8574720 .. 8583168
[snip]
> PM: dataflash_write: 8574720 .. 8583168
two nodes are written to the same place ? That's odd...