]> git.neil.brown.name Git - LaFS.git/commit
Properly track segrefs held by active segments.
authorNeilBrown <neilb@suse.de>
Tue, 29 Jun 2010 11:57:33 +0000 (21:57 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 2 Jul 2010 23:31:19 +0000 (09:31 +1000)
commitced4e3a8b59a00fb8e3e92aead4d2b7bd483ff01
treecc4d401f2a10ed6627229902c5a8be787b6c30f1
parent3722e58cf5aecdc9f965c7c98eb0c432fc2ccae5
Properly track segrefs held by active segments.

Each active segment holds a segref.  This is currently in a
slightly haphazard way.

If .dev is >= 0 a segref is held, so new_segment drops it,
then devs .dev to -1, unless a new segment is found.

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