]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Split out btree_node_rewrite_worker
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 18 Mar 2024 00:25:39 +0000 (20:25 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 18 Mar 2024 00:53:12 +0000 (20:53 -0400)
commita0a466ea981ba57426e8ae56e2291d0f39566442
tree859b1880b8bb42ab58a33c39168cc336e7db32cf
parent37bb9c9572858288457614366635e8c4c1eaf8ce
bcachefs: Split out btree_node_rewrite_worker

This fixes a deadlock due to using btree_interior_update_worker for non
interior updates - async btree node rewrites were blocking, and then
blocking other interior updates.

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