]> git.neil.brown.name Git - LaFS.git/commit
Retard cleaner more when space is tight.
authorNeilBrown <neilb@suse.de>
Fri, 9 Jul 2010 06:18:56 +0000 (16:18 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 9 Jul 2010 06:18:56 +0000 (16:18 +1000)
commitbec033d7eada714ce221095265b20b70de3d8e9a
tree3d639ebcc463323ef4de2fb9db20f622d33459e9
parent1cbabc4d21e74dcca46b407e6e1e61472cc574d4
Retard cleaner more when space is tight.

If there is no space in any 'cleaner segment' to clean to, then
only clean if there are no 'clean' (but not 'free') segments.
As soon as we make a clean segment, we should stop cleaning and
allow a checkpoint to make the clean segment free so maybe more
progress can be made.

Signed-off-by: NeilBrown <neilb@suse.de>
clean.c
cluster.c