Skip to content
Commit 7efa2875 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_journal_noflush_seq()



Improved journal pipelining broke journal_noflush_seq(); it implicitly
assumed only the oldest outstanding journal buf could be in flight, but
that's no longer true.

Make this more straightforward by just setting buf->must_flush whenever
we know a journal buf is going to be flush.

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