]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65d841aa8a117e4b719aac228bfb7464b98521fb
tree2543be730f7fff44e23fbe302108afa0093cc643
parent8e2db97c7d3afa426ca51c6b7be5d073a97769e9
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