Re: [Yaffs] loopback , power-off, and data is lost

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Henrik Grindal Bakken
Date:  
To: yaffs
Subject: Re: [Yaffs] loopback , power-off, and data is lost
Charles Manning <> writes:

> I had a look at the paste and it would seem that yaffs does not
> think itself dirty in the second sync.
>
> yaffs has a small internal cache and it seems that the writes in the
> cache are not getting flushed.
>
> Here's something to try to see if this changes anything:
>
> touch ext2 file
> sync
>
> touch yaffs file
> sync
>
> touching the yaffs file should explicitly dirty yaffs.


That appears to work.

Do you have an explanation for why it seems to keep files with
content, but not the empty ones?


--
Henrik Grindal Bakken <>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52