]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: If we run merges at a lower watermark, they must be nonblocking
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 22 Apr 2024 03:32:18 +0000 (23:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 22 Apr 2024 05:26:51 +0000 (01:26 -0400)
commite858beeddfa3a400844c0e22d2118b3b52f1ea5e
tree1aa8a9b048af880fa769991e1355be23cd5cfe1d
parent0e42f381193d7f9b47922f1c4308e7729a45ba13
bcachefs: If we run merges at a lower watermark, they must be nonblocking

Fix another deadlock related to the merge path; previously, we switched
to always running merges at a lower watermark (because they are
noncritical); but when we run at a lower watermark we also need to run
nonblocking or we've introduced a new deadlock.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Reported-and-tested-by: s@m-h.ug
fs/bcachefs/btree_update_interior.c