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:

> On Thursday 12 August 2010 19:13:21 Henrik Grindal Bakken wrote:
>
>> That appears to work.
>
> Thanks for checking that out. I can now determine what is broken and
> fix it.
>
> I'll add that to my todo list...


Excellent. I'll be watching the commits. Please let me know if
there's anything I can do to help.

>> Do you have an explanation for why it seems to keep files with
>> content, but not the empty ones?
>
> I could make some guesses, but I would not swear on them.
>
> I think it might be do with the way sync works. IIRC, sync makes two
> passes. The first flushes dirty files and the second
> metadata. Perhaps that's the reason.


Sounds plausible.


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