[PATCH] JBD: hold onto j_state_lock after
Minro tweak: once log_wait_for_space() has created sufficient space in the journal to start the new handle, hang onto the spinlock as start_this_handle() loops around to reevaluate the journal's state. It prevents anyone else from zooming in and stealing the space we just made.
Showing
Please register or sign in to comment