JFFS2: mount time, SUMMARY and gc.c ?
Artem B. Bityuckiy
dedekind at infradead.org
Fri Jan 7 14:05:15 EST 2005
On Fri, 7 Jan 2005, Steven Scholz wrote:
> Hi there,
>
> > I noticed that "jffs2_gcd_mtd0" is heavily running after boot consuming
> > much time.
> >
> > gc.c:jffs2_garbage_collect_pass() gets called very often - 596 times!
>
> Well, actually it is only 293 times.
> (My mtd0 has 110 x 64KiB sectors = 7040KiB)
>
> But still why is it done everytime I boot my target?
This is how JFFS2 implemented. It skips nodes CRC checking during mount
and does this lated in background. Actually, you can't write anything to
your flash untill the GC thread (jffs2_gcd_mtd0) have not completed
checking. But you may read from JFFS2 during that checking process.
>
> Thanks.
>
> --
> Steven Scholz
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
More information about the linux-mtd
mailing list