GC operation

Josh Boyer jwboyer at gmail.com
Wed Nov 9 08:41:56 EST 2005


On 11/9/05, Bernhard Priewasser <priewasser at gmail.com> wrote:
>
> >> jffs2_erase_pending_blocks(), am I right? When is it called? I can only
> >> find it in jffs2_write_super() with count=0 and jffs2_find_nextblock()
> >> with count=1.
> > So, you've answered your question :-)
> I meant the way it is called by kupdated (which I don't know at all).

The kupdated thread wakes up every 5 seconds or so and calls
sync_supers, which will eventually call jffs2_write_super() and hence
jffs2_erase_pending_blocks is called.

josh




More information about the linux-mtd mailing list