jbd2: optimize jbd2_log_do_checkpoint() a bit
authorJan Kara <jack@suse.cz>
Thu, 4 Sep 2014 22:09:29 +0000 (18:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Sep 2014 22:09:29 +0000 (18:09 -0400)
When we discover written out buffer in transaction checkpoint list we
don't have to recheck validity of a transaction. Either this is the
last buffer in a transaction - and then we are done - or this isn't
and then we can just take another buffer from the checkpoint list
without dropping j_list_lock.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found