Re: [Yaffs] record block info

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: EzioZhang
Date:  
To: 'YAFFS'
CC: 'EzioZhang'
Subject: Re: [Yaffs] record block info
On 2011-12-20 06:08, EzioZhang wrote:
> as subject,every block has its current state and when some operation is
> done the state will be changed . In ram ,yaffs uses struct block_info to
> record it,but if a thunder power loss happened,the state will loss,so
> when restarts how to determine every block's state? i know yaffs uses
> query_block_fn() to do this work ,but i'm not sure how to achieve that?
>
>
> ---
> Best wishes,
> Ezio
>
>

No replys?
How to determine block's when start while no information except flash data?