Re: GC operation

Josh Boyer
2005-11-09T13:42:03Z

On 11/9/05, Bernhard Priewasser <priewasser@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