root jffs2

Vipin Malik vipin.malik at daniel.com
Thu Jun 14 10:37:48 EDT 2001


Nicolas Pitre wrote:

> OK. Remember that discussion.  I just never caught the very reason why in
> the first place.
>
> So I reverted the queueing of empty blocks for erasing, while still counting
> them.  If the whole flash is empty then mounting JFFS2 is still allowed and
> the whole flash will be re-erased to be on the safe side.
>

Great.

I think we should put warning notes in the appropriate place in the code
regarding this (if not already there now), as this is one feature that at first blush
seems appropriate
for optimizing by an unsuspecting programmer, in the future.

The last thing we want is this "feature" to creep back in a few years from now when
none of us are vigilant about this.

Vipin






More information about the linux-mtd mailing list