Skip to content
Commit 8aad8e1f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix journal pins in btree write buffer



btree write buffer flush has two phases
 - in natural key order, which is more efficient but may fail
 - then in journal order

The journal order flush was assuming that keys were still correctly
ordered by journal sequence number - but due to coalescing by the
previous phase, we need an additional sort.

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