inode checkpoints

David Woodhouse dwmw2 at infradead.org
Tue Oct 5 12:45:44 EDT 2004


On Tue, 2004-10-05 at 18:07 +0400, Artem B. Bityuckiy wrote:
> Hello David, Josh. What did we decided about the GC thread?
> 
> I offered to create checkpoints from the GC thread. Are there some 
> reasons not to do so? There was one - the GC thread isn't always 
> enabled. But we may require it be enabled if checkpoints are enabled...

Checkpoints are an optimisation -- so is the GC thread. I'm perfectly
happy with the idea that killing the GC thread also stops checkpoints
from happening.

> May be we create ICP during GC process, or on iget() call, or on
> iput() call? But I have arguments against these...

I was thinking of doing it during a normal write to the file, or during
garbage collection of a node belonging to the file.

But I think we can play with ideas on _when_ to call this once you've
actually implemented the functions which does it :)

-- 
dwmw2





More information about the linux-mtd mailing list