From: Jan Kara Date: Thu, 4 Sep 2014 22:09:29 +0000 (-0400) Subject: jbd2: optimize jbd2_log_do_checkpoint() a bit X-Git-Tag: fixes-against-v3.18-rc2~28^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e5ecf0a762627b949141df1d83094a9b0eb54a8;p=pandora-kernel.git jbd2: optimize jbd2_log_do_checkpoint() a bit 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 Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed