[PATCH] block2mtd oops in erase function.
Jason Lunz
lunz at falooley.org
Wed Feb 21 15:26:51 EST 2007
On Wed, Feb 21, 2007 at 04:02:18PM +0000, Jörn Engel wrote:
> If you enable CONFIG_JFFS2_SUMMARY, it should work for you. Of course,
> your filesystem needs the summary, so you either have to do the
> backup&restore procedure or apply sumtool (is that its name?) to your
> images.
I thought I'd enabled CONFIG_JFFS2_SUMMARY, but it turns out not.
I've enabled it now, but I still don't seem to see any speedup.
I'm unclear on how to make the filesystem use it. I create the jffs2
filesystem by simply doing:
flash_eraseall -j /dev/mtd0
mount -t jffs2 mtd0 /state
Will this create a summary automatically, or is there an extra step I
need to take?
...ah, it seems removing the -j does the trick. If I don't use it, mount
goes from >50s to <4s.
thanks!
Jason
More information about the linux-mtd
mailing list