Re: [Yaffs] yaffs2 questions

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ross Younger
Date:  
To: yaffs
Subject: Re: [Yaffs] yaffs2 questions
* srimugunthan dhandapani <> wrote:
> Is it guaranteed like the checkpoint info will be at some first few blocks
> of the flash, so scan time is less?


No. The checkpoint data can be anywhere on the flash; this is important,
in order to avoid wearing out any one region.

Instead, YAFFS makes good use of the out-of-band area on the flash. In
order to find the checkpoint data and confirm its validity, YAFFS only
needs to perform a fast block-level scan, which reads in the tags from the
OOB area of the first page of each block. (Read yaffs2_checkpt_find_block
to find out more.) The slow page-level scan of the flash is only required
if there is no valid checkpoint data.

> Other than needing more RAM, are there be any other issues you anticipate,
> for using 512GB flash?.


Accessing that amount of data on flash is not going to be fast. You'll
probably want to squeeze every last drop of performance that you can
out of your flash controller and driver.


Ross