mkfs.jffs2.c rework

Joakim Tjernlund joakim.tjernlund at lumentis.se
Mon Nov 25 11:33:48 EST 2002


> 
> joakim.tjernlund at lumentis.se said:
> >  If my memory serves me correct, I think the semantics of the clean
> > marker has changed somewhat. A clean erase block with only a clean
> > maker on it will have the ACCURATE bit set, but once you write to it
> > you should clear the ACCURATE bit. This is an optimization that
> > enables JFFS2 to avoid scanning empty erase blocks. 
> 
> Er, I'm not convinced we ever actually did that. You may be right though.
> 
> --
> dwmw2

Well, I had a look. It's in CVS HEAD(nodemgmt.c, do_reserve_space()) but not in the 2.4 branch.
Or am I misreading it?





More information about the linux-mtd mailing list