bcachefs: Plumb btree_trans through btree cache code
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 2 Mar 2023 07:12:18 +0000 (02:12 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:55 +0000 (17:09 -0400)
commit1306f87de399a0c791f03d68b50e03bdb3f409ae
tree1dc9be35833714cb8310f4286876cae9f3139c0f
parentb1cfe5ed2b5d5dbd2d8bcb2a4c1131513a1b3e1c
bcachefs: Plumb btree_trans through btree cache code

Soon, __bch2_btree_node_write() is going to require a btree_trans: zoned
device support is going to require a new allocation for every btree node
write. This is a bit of prep work.

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