Whamcloud - gitweb
b=18649 set wait_recovery_complete() MAX value to max recovery time estimated
[fs/lustre-release.git] / lustre / kernel_patches / patches / jbd-commit-timer-no-jiffies-rounding.diff
1 Index: linux-2.6.22.14/fs/jbd/transaction.c
2 ===================================================================
3 --- linux-2.6.22.14.orig/fs/jbd/transaction.c   2009-06-12 09:40:42.000000000 +0400
4 +++ linux-2.6.22.14/fs/jbd/transaction.c        2009-06-12 09:40:43.000000000 +0400
5 @@ -56,7 +56,7 @@ get_transaction(journal_t *journal, tran
6         spin_lock_init(&transaction->t_jcb_lock);
7  
8         /* Set up the commit timer for the new transaction. */
9 -       journal->j_commit_timer.expires = round_jiffies(transaction->t_expires);
10 +       journal->j_commit_timer.expires = transaction->t_expires;
11         add_timer(&journal->j_commit_timer);
12  
13         J_ASSERT(journal->j_running_transaction == NULL);