Re: [Yaffs] yaffs2 block retirement issue

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 block retirement issue
On 13/01/11 17:35, Boaz Ben-David wrote:
> Well, thanks for everyone for their support.
> It turns out that all I had to do is mount the partitions with the -o
> inband-tags flag for YAFFS2 to work correctly on my NAND.


Good to hear you've got it working. However, inband tags reduce both the
storage capacity of the NAND[0] and the performance you can achieve[1].
I would recommend regular - out-of-band - tags if possible.

[0] by the size of the packed tags struct (16 bytes) per page; about
0.8% of a device with 2k pages.

[1] in cases where YAFFS wants to read only the tags of a page, inband
mode has to read in the entire page and throw away all but the last 16
bytes. This adds up fast when mounting following an unclean shutdown,
when YAFFS has to scan the entire NAND.


Ross