Re-2: [PATCH 1/2] jffs2: Move erasing from write_super to GC.

Kai-Uwe Bloem kai-uwe.bloem at auerswald.de
Thu Feb 18 07:41:02 EST 2010


> Right. You can move the signal check to the BGT, and do 1-3 erases at a
> time by passing cnt = 1-3. I think it is cleaner.

Seconded. I would restrict the count to 1, since some NOR flashes might need up to 4 seconds for one erase operation. OTOH, the count parameter would be superfluous in that case, since all the other invocations erase only one block as well.
--


To: dedekind1 at gmail.com
    joakim.tjernlund at transmode.se
Cc: linux-mtd at lists.infradead.org


More information about the linux-mtd mailing list