diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-25 15:34:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:18 -0400 |
commit | 5df4be3f62c9bde73db801504b3db2693b28328c (patch) | |
tree | 4f410597305eeb8532c251963d9324fd9952462b /fs/bcachefs/btree_iter.h | |
parent | 03e183cb5d429a3bb53816d70da7c19f0745909e (diff) | |
download | lwn-5df4be3f62c9bde73db801504b3db2693b28328c.tar.gz lwn-5df4be3f62c9bde73db801504b3db2693b28328c.zip |
bcachefs: Btree iter improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.h')
-rw-r--r-- | fs/bcachefs/btree_iter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_iter.h b/fs/bcachefs/btree_iter.h index fcec373db39a..04f747180bd8 100644 --- a/fs/bcachefs/btree_iter.h +++ b/fs/bcachefs/btree_iter.h @@ -273,6 +273,9 @@ static inline int btree_iter_err(struct bkey_s_c k) void bch2_trans_preload_iters(struct btree_trans *); void bch2_trans_iter_put(struct btree_trans *, struct btree_iter *); void bch2_trans_iter_free(struct btree_trans *, struct btree_iter *); +void bch2_trans_iter_free_on_commit(struct btree_trans *, struct btree_iter *); + +void bch2_trans_unlink_iters(struct btree_trans *, u64); struct btree_iter *__bch2_trans_get_iter(struct btree_trans *, enum btree_id, struct bpos, unsigned, u64); |