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.
No.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 ?
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