Re: [Yaffs] YAFFS1 garbage collection

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] YAFFS1 garbage collection
On Tuesday 22 March 2011 13:01:36 Brian Mack wrote:
> I have been having a hard time finding information relating to YAFFS1. In
> particular, I was wondering about the garbage collection algorithm used in
> YAFFS1. Does it operate in the same way as YAFFS2? Does anyone have
> documentation relating to the YAFFS1 garbage collection? Anything publicly
> available?


Google HowYaffsWorks

The same code actually handles both with a few extra checks for YAFFS2 mode.

YAFFS1 uses deletion markers which means that any block can be
collected at any time.

YAFFS2 does not have deletion markers which means we have to be
careful with blocks we collect. This constrains the block selection a
bit.

-- Charles