diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-03-16 04:29:43 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:37 +0200 |
commit | e62d65f2fbc3cb89ffd273ec0931ff32b778ef8b (patch) | |
tree | 35c9ffdd727d22928e8e4de9c8e1e3d24b3e884d /fs/bcachefs/btree_cache.h | |
parent | bcachefs: Disable extent merging (diff) | |
download | linux-e62d65f2fbc3cb89ffd273ec0931ff32b778ef8b.tar.xz linux-e62d65f2fbc3cb89ffd273ec0931ff32b778ef8b.zip |
bcachefs: trans_commit() path can now insert to interior nodes
This will be needed for the upcoming patches to journal updates to
interior btree nodes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_cache.h')
-rw-r--r-- | fs/bcachefs/btree_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_cache.h b/fs/bcachefs/btree_cache.h index 5d85987457bf..abde6c2658c6 100644 --- a/fs/bcachefs/btree_cache.h +++ b/fs/bcachefs/btree_cache.h @@ -25,6 +25,9 @@ struct btree *bch2_btree_node_get(struct bch_fs *, struct btree_iter *, const struct bkey_i *, unsigned, enum six_lock_type); +struct btree *bch2_btree_node_get_noiter(struct bch_fs *, const struct bkey_i *, + enum btree_id, unsigned); + struct btree *bch2_btree_node_get_sibling(struct bch_fs *, struct btree_iter *, struct btree *, enum btree_node_sibling); |