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>
This commit is contained in:
+2
-1
@@ -1004,7 +1004,8 @@ restart_loop:
|
||||
* File the transaction statistics
|
||||
*/
|
||||
stats.ts_tid = commit_transaction->t_tid;
|
||||
stats.run.rs_handle_count = commit_transaction->t_handle_count;
|
||||
stats.run.rs_handle_count =
|
||||
atomic_read(&commit_transaction->t_handle_count);
|
||||
trace_jbd2_run_stats(journal->j_fs_dev->bd_dev,
|
||||
commit_transaction->t_tid, &stats.run);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user