I  aggree that, but YAFFS empty page  alloc  order is  sequence, why page b is not alloced for use ,the page c is alloced  ?
if turn off inband tags, no  such problem.


2008/11/10 Charles Manning <manningc2@actrix.gen.nz>
On Saturday 08 November 2008 02:57:41 fs p wrote:
> hi:
>
>   use the nandsim emul  2k page flash ,  nanddump the device content,
> found that  : page a is filled with data ,but  next page  b is empty ,
> and page c is filled with data , page  d is empty ,   .page e  is filled
> with data ,etc
>   I mean is if use inband tag , there is some page empty betweent  two page
> which filled with data , or   some problem else ?

No.

A "normal" layout puts the tags  in some out of band  area (eg. the spare/OOB
area in NAND pages).

Inband tags use a part of the data area to store the tags. So, if the page
holds, say, 1024 bytes then that will store the tags + (1024 - sizeof(Tags))
bytes of data.

-- Charles