nilfs2: fix irregular checkpoint creation due to data flush
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 2 Nov 2009 06:08:13 +0000 (15:08 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 3 Nov 2009 03:32:03 +0000 (12:32 +0900)
commitaeda7f6343e6375a832e52ff5ed389c115023ca5
tree2543be730f7fff44e23fbe302108afa0093cc643
parentb1e19e5601277845b4f17ecd7c9ba04f73ee11aa
nilfs2: fix irregular checkpoint creation due to data flush

When nilfs flushes out dirty data to reduce memory pressure, creation
of checkpoints is wrongly postponed.  This bug causes irregular
checkpoint creation especially in small footprint systems.

To correct this issue, a timer for the checkpoint creation has to be
continued if a log writer does not create a checkpoint.

This will do the correction.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/segment.c