Triggering Garbage Collection

Bharat Joshi bharat_joshi at
Wed Apr 13 00:09:06 EDT 2005

Hi All,

   With JFFS2, to avoid a deadlock, we must have at least
2 or more erase blocks available when garbage collection
thread is triggered.

   Just wanted to know if there is any algorithm which can
be used to trigger Garbage Collection and do it with only
one erase block kept for garbage collection.

   This was mentioned as one of the improvements in JFFS2
pdf document. So are we looking at it in JFFS3?

Thanks & Regards,
Bharat Joshi <bharat_joshi at>
Infosys Technologies Ltd

More information about the linux-mtd mailing list