JFFS

David Woodhouse dwmw2 at infradead.org
Wed Nov 7 13:40:12 EST 2001


monitoreurope at yahoo.co.uk said:
>  Is there a method by which we could call the garbage collection
> function on demand? I ask because our 1 meg partion mounted as /var
> will be quite static as we have a ram disk for transient info.
> Therfore we will probably only do a write every 1 hour or so. It would
> therfore pay us to link garbage collection with our FIFO clean up.

You can make the GC thread wake up by sending it a SIGHUP. It'll only do 
one operation and then sleep again, though.

What you probably want is a way to tune the thresholds which trigger GC.

--
dwmw2






More information about the linux-mtd mailing list