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

bcachefs: Fix topology errors on split after merge



If a btree split picks a pivot that's being deleted by a btree node
merge, we're going to have problems.

Fix this by checking if the pivot is being deleted, the same as we check
for deletions in journal replay keys.

Found by single_devic.ktest small_nodes.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d335bb3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment