bcachefs: plumb data_type into bch2_bucket_alloc_trans()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 20 Apr 2024 20:10:40 +0000 (16:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:20 +0000 (17:29 -0400)
commite7f63c67fcb4a479651ed8c50306bb654749faab
tree4430455df9265317dddcfa76b86f4ccbd453d8fa
parent018b32a63fabbc4c3a69c350f7ef922f1a3ac5f4
bcachefs: plumb data_type into bch2_bucket_alloc_trans()

prep work for making the allocator try to keep btree nodes within the
existing member info btree allocated bitmap

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