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: Matthieu CASTET
Date:  
To: yaffs
Subject: Re: [Yaffs] loopback , power-off, and data is lost
After adding OS trace to yaffs2, I saw that sync does a call to yaffs_sync_fs,
but it is a nop.

This mean sync syscall doesn't flush the yaffs2 cache and data it lost on
unclean umount.


Calling yaffs_FlushEntireDeviceCache in yaffs_sync_fs seems to make sync working.
What do you think of that ?



Matthieu