commit | a931da6ac9331a6c80dd91c199105806f2336188 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Aug 03 21:35:12 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Aug 03 21:35:12 2010 -0400 |
tree | 2d4ea766def9a98d21c2379f41e796b0e57ccd6b | |
parent | a51dca9cd3bb4ec5a05bfb6feabf024a5c808a37 [diff] |
jbd2: Change j_state_lock to be a rwlock_t 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>