Re: [Yaffs] required blocks calculation for Checkpoint

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs, Amir Comforti
Subject: Re: [Yaffs] required blocks calculation for Checkpoint
On Sunday 03 October 2010 21:10:51 Amir Comforti wrote:
> Hi Charles,
>
> In function yaffs_CalcCheckpointBlocksRequired, I see the following remark:
> /* Round up and add 2 blocks to allow for some bad blocks, so add 3 */
>
> I want to use yaffs over NOR device. Since NOR devices don't have bad
> blocks, will it be OK if I will not add those 2 blocks (to save space on my
> yaffs partition)?


If you are using NOR then you could do this.

How big is the NOR partition you are using? If it is not very big then you
will not gain much from checkpointing and can just disable checkpointing
completely.


Charles