bcachefs: Trust btree alloc info at runtime
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 28 Oct 2019 23:33:59 +0000 (19:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:30 +0000 (17:08 -0400)
commitff929515cc52ed693ff2116be3af9f32122e9b54
tree275f7c6ab71076f6e6c40048d545b11a36df4e47
parentc4e065c23c4ad464be2fb1c4dfa70090cc3d0c66
bcachefs: Trust btree alloc info at runtime

This lets us avoid a cache miss in the write path.

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