jbd2: add transaction to checkpoint list earlier
authorTheodore Ts'o <tytso@mit.edu>
Sun, 9 Mar 2014 03:34:10 +0000 (22:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 9 Mar 2014 03:34:10 +0000 (22:34 -0500)
We don't otherwise need j_list_lock during the rest of commit phase
#7, so add the transaction to the checkpoint list at the very end of
commit phase #6.  This allows us to drop j_list_lock earlier, which is
a good thing since it is a super hot lock.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/commit.c

Simple merge