]> Git Repo - linux.git/commit
bcachefs: Fix topology errors on split after merge
authorKent Overstreet <[email protected]>
Thu, 31 Oct 2024 06:50:55 +0000 (02:50 -0400)
committerKent Overstreet <[email protected]>
Thu, 7 Nov 2024 21:48:21 +0000 (16:48 -0500)
commitcec136d348e037ea5b6a463164454d6d0174d92f
tree4425f3d74d83ff024edbc3b7cac2da1bb34b37a3
parentd335bb3fd3a4102f325ef8a353efc3d2fb523f55
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: Kent Overstreet <[email protected]>
fs/bcachefs/btree_update_interior.c
This page took 0.045473 seconds and 4 git commands to generate.