diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-04-14 00:12:18 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-04-14 00:12:18 -0400 |
commit | 541d2ecd36b2a2c0898d3c4f2387f6aef826e1ed (patch) | |
tree | 7664ffa88cfd682313a061d5a33313e30a45da98 /fs/autofs4/root.c | |
parent | 094cc513be1278d83adbc04efce7276d896592ec (diff) |
jbd2: Improve scalability by not taking j_state_lock in jbd2_journal_stop()
One of the most contended locks in the jbd2 layer is j_state_lock when
running dbench. This is especially true if using the real-time kernel
with its "sleeping spinlocks" patch that replaces spinlocks with
priority inheriting mutexes --- but it also shows up on large SMP
benchmarks.
Thanks to John Stultz for pointing this out.
Reviewed by Mingming Cao and Jan Kara.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/autofs4/root.c')
0 files changed, 0 insertions, 0 deletions