]> git.neil.brown.name Git - LaFS.git/commit
Make sure the segment being written is never cleaned.
authorNeilBrown <neilb@suse.de>
Thu, 1 Jul 2010 07:51:35 +0000 (17:51 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 2 Jul 2010 23:31:19 +0000 (09:31 +1000)
commitedc711d22b6cef422320d136d9014830edb46286
tree7b1758f65c4e128fc55b408842c5274ff30d6abc
parentfa6deb18a9da81d62bccb677f7979d2923c619db
Make sure the segment being written is never cleaned.

Cleaning the current segment would be a bad idea as it's
usage count isn't really representative of anything useful.
So leave it in the table flags as 'active' to avoid it
becoming cleanable, and remove it when the segment is finished
with.

Signed-off-by: NeilBrown <neilb@suse.de>
cluster.c
lafs.h
segments.c