Skip to content
Commit 3469a32a authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent df3c1e9a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment