]> git.neil.brown.name Git - LaFS.git/commit
Unpin data blocks from previous phase before allowing them to be dirty.
authorNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 10:24:20 +0000 (20:24 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 10:24:20 +0000 (20:24 +1000)
commitc0b5878edf59956cb3995436d860da4d365c525e
treeb13aa97ccc871d3434ac6d7303c7c0f2a0dd0f23
parent090259edceac3373d64d28d27cfd2a29991e7687
Unpin data blocks from previous phase before allowing them to be dirty.

While checkpointing will unpin PinPending blocks, it might not
manage to do it before the block gets Dirtied again.
So before we Pin the block - which is a required precursor to dirtying
them, unpin the block.

Signed-off-by: NeilBrown <neilb@suse.de>
block.c
checkpoint.c