diff options
author | 2014-09-04 18:09:29 -0400 | |
---|---|---|
committer | 2014-09-04 18:09:29 -0400 | |
commit | 0e5ecf0a762627b949141df1d83094a9b0eb54a8 (patch) | |
tree | 14fa8da08990a77cc51bdb08fce460861a5e2c9a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | jbd2: don't call get_bh() before calling __jbd2_journal_remove_checkpoint() (diff) | |
download | wireguard-linux-0e5ecf0a762627b949141df1d83094a9b0eb54a8.tar.xz wireguard-linux-0e5ecf0a762627b949141df1d83094a9b0eb54a8.zip |
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 <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions