Re: [Yaffs] When yaffs perform GC?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] When yaffs perform GC?
On Tuesday 02 August 2011 04:10:11 HuangAlex wrote:
> Hi guys,
>
> I wonder when yaffs2 perform garbage collection, is every time power on/off
> the device or just perform gc when the reseved blocks is less than some
> specific value. Thank you.


Have you read HowYaffsWorks?

If you look at yaffs_guts.c and search for garbage or gc you will see the
conditions under which gc is done.

-- CHarles