aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-08-03 21:38:29 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-08-03 21:38:29 -0400
commit8dd420466c7bfc459fa04680bd5690bfc41a4553 (patch)
tree6004eaaa7266979397a9d87e30066fc91d3650c3 /fs/jbd2/commit.c
parenta931da6ac9331a6c80dd91c199105806f2336188 (diff)
jbd2: Remove t_handle_lock from start_this_handle()
This should remove the last exclusive lock from start_this_handle(), so that we should now be able to start multiple transactions at the same time on large SMP systems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 67bb0a2f35e5..f52e5e8049f1 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -1004,7 +1004,8 @@ restart_loop:
1004 * File the transaction statistics 1004 * File the transaction statistics
1005 */ 1005 */
1006 stats.ts_tid = commit_transaction->t_tid; 1006 stats.ts_tid = commit_transaction->t_tid;
1007 stats.run.rs_handle_count = commit_transaction->t_handle_count; 1007 stats.run.rs_handle_count =
1008 atomic_read(&commit_transaction->t_handle_count);
1008 trace_jbd2_run_stats(journal->j_fs_dev->bd_dev, 1009 trace_jbd2_run_stats(journal->j_fs_dev->bd_dev,
1009 commit_transaction->t_tid, &stats.run); 1010 commit_transaction->t_tid, &stats.run);
1010 1011