Commit 9a71de67 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: BTREE_INSERT_JOURNAL_REPLAY now "don't init trans->journal_res"



This slightly changes how trans->journal_res works, in preparation for
changing the btree write buffer flush path to use it.

Now, BTREE_INSERT_JOURNAL_REPLAY means "don't take a journal
reservation; trans->journal_res.seq already refers to the journal
sequence number to pin".

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 389c92b3
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