]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Punt btree writes to workqueue to submit
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 6 Apr 2021 19:28:34 +0000 (15:28 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:01 +0000 (17:09 -0400)
commit51c804ed2a60d995c1a358018491471e34bb76b6
treecf0c4afeae40de8bee19fb72d89cc3a3aef2340d
parent4d47b21c4dac0d27ad02add2c68be0afaa63ef98
bcachefs: Punt btree writes to workqueue to submit

We don't want to be submitting IO with btree locks held, and btree
writes usually aren't latency sensitive.

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