]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: round commit timer up to avoid uncommitted transaction
authorAndreas Dilger <adilger@sun.com>
Tue, 11 Aug 2009 02:51:53 +0000 (22:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 11 Aug 2009 02:51:53 +0000 (22:51 -0400)
commite9799099efed23c7779afbb2f0c9fafbf8feff29
tree08406f7f1ea6ec37fce67e5e592c657a00084f3c
parent92d41f44889a1e20956de948c1611d469c25bf7d
jbd2: 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 expicit sync/umount happens.

Signed-off-by: Alex Zhuravlev (Tomas) <alex.zhuravlev@sun.com>
Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c