jbd2: Change j_state_lock to be a rwlock_t
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Aug 2010 01:35:12 +0000 (21:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Aug 2010 01:35:12 +0000 (21:35 -0400)
Lockstat reports have shown that j_state_lock is a major source of
lock contention, especially on systems with more than 4 CPU cores.  So
change it to be a read/write spinlock.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found