diff options
author | Theodore Ts'o | 2010-08-04 03:38:29 +0200 |
---|---|---|
committer | Theodore Ts'o | 2010-08-04 03:38:29 +0200 |
commit | 8dd420466c7bfc459fa04680bd5690bfc41a4553 (patch) | |
tree | 6004eaaa7266979397a9d87e30066fc91d3650c3 /include/linux/jbd2.h | |
parent | jbd2: Change j_state_lock to be a rwlock_t (diff) | |
download | kernel-qcow2-linux-8dd420466c7bfc459fa04680bd5690bfc41a4553.tar.gz kernel-qcow2-linux-8dd420466c7bfc459fa04680bd5690bfc41a4553.tar.xz kernel-qcow2-linux-8dd420466c7bfc459fa04680bd5690bfc41a4553.zip |
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 'include/linux/jbd2.h')
-rw-r--r-- | include/linux/jbd2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 15d5743ccfbb..01743b5446ff 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -629,7 +629,7 @@ struct transaction_s /* * How many handles used this transaction? [t_handle_lock] */ - int t_handle_count; + atomic_t t_handle_count; /* * This transaction is being forced and some process is |