]> git.neil.brown.name Git - LaFS.git/commit
reset newblocks for each checkpoint
authorNeilBrown <neilb@suse.de>
Fri, 2 Jul 2010 23:17:18 +0000 (09:17 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 3 Jul 2010 00:00:07 +0000 (10:00 +1000)
commit31e460a6b266bb0966977ffbcd6eff941fcda827
tree39a0cf457a612d8b21e7c18e684a85a3ac52da32
parente02377bc8e6f830db1b464a0222a3ea88089f5c2
reset newblocks for each checkpoint

newblocks is the count of new blocks written to the filesystem in this
checkpoint (roughly the amount of work that roll-forward would have to
do).  We use it to trigger new checkpoints.
So we need to reset it after each checkpoint.

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