summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/move.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-26 18:31:11 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-28 17:18:24 -0500
commit5510a4af521c34df339fcceb0f26ace5b1090ad6 (patch)
treedb5de39978ef4d132df99892ea657897102ac292 /fs/bcachefs/move.c
parent03013bb0c6b157630018800a456a08646655ea97 (diff)
downloadlinux-stable-5510a4af521c34df339fcceb0f26ace5b1090ad6.tar.gz
linux-stable-5510a4af521c34df339fcceb0f26ace5b1090ad6.tar.bz2
linux-stable-5510a4af521c34df339fcceb0f26ace5b1090ad6.zip
bcachefs: Fix split_race livelock
bch2_btree_update_start() calculates which nodes are going to have to be split/rewritten, so that we know how many nodes to reserve and how deep in the tree we have to take locks. But btree node merges require inserting two keys into the parent node, not just splits. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.c')
0 files changed, 0 insertions, 0 deletions