Commit c81f5836 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't touch c->flags in bch2_trans_iter_init()



This moves the JOURNAL_REPLAY_DONE flag check from
bch2_trans_iter_init() to bch2_trans_init(), where we stash a copy in
btree_trans - gaining us a small performance improvement.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 3e3e02e6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment