mtd/fs/jffs2 nodemgmt.c,1.115,1.116

Thomas Gleixner tglx at linutronix.de
Mon Jan 24 16:58:48 EST 2005


> - avoid filing blocks on the clean list when they have wasted
> space

That's plain wrong. 

Wasted space was introduced to prevent endless garbage collection.
Wasted space is unreclaimable, because it is less than the minimum node
size. It's totally correct to file those blocks on the clean list,
because GC _cannot_ reclaim the wasted space. 

This patch just reinvents the endless GC loop. Please revert.

tglx






More information about the linux-mtd mailing list