On Fri, 29 Aug 2008 21:16:22 +0200, Jörn Engel wrote:
First, nilfs never deletes the checkpoints marked as snapshot nor the
recent checkpoints whose elapsed time from its creation is smaller than
``protection period''. These are ground rules.
Based on the rules, the userland GC daemon can delete arbitrary
checkpoints among removable checkpoints. But the current GC just
deletes the removable checkpoints in chronological order. More
sophisticated policies, for example, the one detects landmark
checkpoints and tries to keep them (a known policy in versioning
filesystems), may be conceivable.
But I feel the current policy is simple and satisfactory, so I'd like
to leave others to someone who wants to implement them (e.g. one of my
colleagues).
Regards,
Ryusuke Konishi
--