Skip to contentSkip to conversation

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

DISCUSSION Kai-Uwe Bloem 2 participants 2 messages Feb 18, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

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: [email protected]
[email protected]
Cc: [email protected]

#1 lore raw
Quoted 7 lines · Kai-Uwe Bloem
Quoted 2 lines

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.

It might be superfluous, but it is not necessary to remove it.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)