commit | 3469a32a1e948c54204b5dd6f7476a7d11349e9e | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Mar 08 19:11:36 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Mar 08 19:11:36 2014 -0500 |
tree | d6039ae11b109ddb71e9724a46d54337535a2d6e | |
parent | df3c1e9a05ff25aca9f54a6c08b77003e2e32bf1 [diff] |
jbd2: don't hold j_state_lock while calling wake_up() The j_state_lock is one of the hottest locks in the jbd2 layer and thus one of its scalability bottlenecks. We don't need to be holding the j_state_lock while we are calling wake_up(&journal->j_wait_commit), so release the lock a little bit earlier. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>