mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
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:
parent
a931da6ac9
commit
8dd420466c
3 changed files with 25 additions and 13 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue