Skip to contentSkip to conversation

Re-2: [PATCH 2/2] s/jffs2_erase_pending_trigger/jffs2_garbage_collect_trigger/

DISCUSSION Kai-Uwe Bloem 1 participant 1 message Feb 16, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines
Quoted 6 lines

But then you make the code more confusing. Indeed, readability becomes worse.

I would just change 'jffs2_erase_pending_trigger()' and make it wake up the GC thread, just like 'jffs2_garbage_collect_trigger()'...

Depends on your point of view, I think erasing blocks is GC so to me it makes sense. However I acknowledge that erasing is different from other forms of GC so I can change it back if you really want me too.

Yes, please. I too think that it would be more readable, since the intention is more visible.

--

To: [email protected]
[email protected]
Cc: [email protected]