Re: data loss on jffs2 filesystem on dataflash

Artem B. Bityuckiy
2005-09-15T09:26:02Z

On Thu, 2005-09-15 at 11:14 +0200, Peter Menzebach wrote:
> My guess at the moment is, that the write buffering has some problems
> somewhere. I can see, that everytime a whole pagesize is written to
> flash. Is that intended?
This is OK. The whole goal of the write-buffer is to accumulate small
writes and to flush the whole page at once. It is assumed that the
minimal flash IO unit is c->wbuf_pagesize.

Could you please reproduce the problem, gather the log and send it
again, but with 2 notes:

1. please, output messages synchronously to a serial console (try dmesg
-n 8). When you use dmesg you see only the last output and loose
everything which does not fit the internal Linux output ring buffer.

2. AFAIU, after remount files disappear. Please, also send the log of
the second mount/