Wear Leveling in JFFS2 NOT working!(?)

David Woodhouse dwmw2 at infradead.org
Thu May 3 11:29:48 EDT 2001

vipin.malik at daniel.com said:
> As hypothesized, the every few minutes cycling was what was screwing up
> the wear leveling algorithm. After the cycling stopped, all sectors
> showed up in the log and additionally each was cycled the same number
> of times!

Good :)

> In my opinion, there should be no need to fix the algorithm to
> accommodate the frequent cycling. Power going down every few minutes
> is (usually) NOT a normal mode of operation of an embedded system.

It's not normal, but given that it's quite easy for us to deal with it by
attempting to start in a different place each time, we might as well do so.

If it were more difficult, I'd be inclined to agree with you that it's not 
worth the effort.


More information about the linux-mtd mailing list