/usr/src/kernel-patches/lustre/patches/jbd-commit-timer-no-jiffies-rounding.diff is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | Index: linux-2.6/fs/jbd/transaction.c
===================================================================
--- linux-2.6.orig/fs/jbd/transaction.c 2009-06-10 20:07:51.000000000 +0400
+++ linux-2.6/fs/jbd/transaction.c 2009-06-10 20:08:03.000000000 +0400
@@ -56,7 +56,7 @@ get_transaction(journal_t *journal, tran
spin_lock_init(&transaction->t_handle_lock);
/* Set up the commit timer for the new transaction. */
- journal->j_commit_timer.expires = round_jiffies(transaction->t_expires);
+ journal->j_commit_timer.expires = transaction->t_expires;
add_timer(&journal->j_commit_timer);
J_ASSERT(journal->j_running_transaction == NULL);
|