JBD: round commit timer up to avoid uncommitted transaction
authorAndreas Dilger <adilger@sun.com>
Thu, 30 Jul 2009 18:09:46 +0000 (20:09 +0200)
committerJan Kara <jack@suse.cz>
Wed, 16 Sep 2009 15:44:10 +0000 (17:44 +0200)
commitb449fc6fcc07a392c69f3c1db9a4ad4dda8cbcba
treecc748936233e62cb8ae3325505e84805fb08b5ad
parentab86e5765d41a5eb4239a1c04d613db87bea5ed8
JBD: round commit timer up to avoid uncommitted transaction

Fix jiffie rounding in jbd commit timer setup code.  Rounding down could cause
the timer to be fired before the corresponding transaction has expired.  That
transaction can stay not committed forever if no new transaction is created or
explicit sync/umount happens.

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/transaction.c