]> git.neil.brown.name Git - LaFS.git/commit
Change flushing of space-accounting blocks.
authorNeilBrown <neilb@suse.de>
Sat, 26 Jun 2010 01:16:10 +0000 (11:16 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 27 Jun 2010 23:15:02 +0000 (09:15 +1000)
commit98a3163be76264e7dcb02a51c3d99b613533a3aa
treea405165e27e325ab88e4a1f632b2e44496e29fec
parent27aea1c70cc83cf731682477b383a331c5355ad9
Change flushing of space-accounting blocks.

Space-accounting blocks need to be flushed very late in the
checkpoint.

We were special casing these, but in an awkward way.

Change it so that these blocks are pinned, but that a checkpoint
doesn't handle them straight away but rather performs a phase_flip
and then queues them for later handling.

This means that we get more consistent behviour of pinned data blocks
and writepage doesn't need to special-base the flushing of segment
usage blocks.

Signed-off-by: NeilBrown <neilb@suse.de>
checkpoint.c
file.c
index.c
lafs.h
quota.c
segments.c
state.h
super.c