]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Run merges at BCH_WATERMARK_btree
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 13 Apr 2024 20:13:13 +0000 (16:13 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Apr 2024 02:49:25 +0000 (22:49 -0400)
commit9054ef2ea944528b7935d0ce3f540d4dc0bc37ba
tree42c8f8122a74fbaca3c36b495802ae2f86883849
parent9e203c43dc1cbaefb3888ee0ba885b2d20d47526
bcachefs: Run merges at BCH_WATERMARK_btree

This fixes a deadlock where the interior update path during journal
replay ends up doing a ton of merges on the backpointers btree, and
deadlocking.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_update_interior.c