Re: [Yaffs] power cycle during rm

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Babrian Viktor
Date:  
To: Charles Manning
CC: yaffs
Subject: Re: [Yaffs] power cycle during rm
> Although it was definitely a bug (ie. unintended code flow), I would have
> expected this to be benign because a file is resized to zero before it is
> deleted, meaning that there should not be any chunks to be soft deleted.


As far as I remember, the task that takes the time during file removal is
resizing to zero. The unclean reset always occurs during resizing.
Deletion takes no time basicly.

Maybe that helps.

>
> I'm still going to investigate a bit further because I'm still scratching my
> head a bit here as to why that should happen on yaffs2 partitions.


BR,
Viktor