bcachefs: Kick off btree node writes from write completions
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 11 Jul 2021 20:41:14 +0000 (16:41 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:08 +0000 (17:09 -0400)
commit0a70089062c63b0861217d9ffb76d3ac073d3fde
tree6ad36372483f209b4145ec231000276888873d9f
parent2680325b7803c336bb675addfe38c06c44e54273
bcachefs: Kick off btree node writes from write completions

This is a performance improvement by removing the need to wait for the
in flight btree write to complete before kicking one off, which is going
to be needed to avoid a performance regression with the upcoming patch
to update btree ptrs after every btree write.

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