diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-11 18:57:04 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:52 +0200 |
commit | a1f26d700aa51fc942ca07ee501b9117075c84e0 (patch) | |
tree | 49ee1f1dbc4d5877953f9d902565063fc1eeb8ec /fs/bcachefs/btree_update_interior.h | |
parent | bcachefs: Nocow locking fixup (diff) | |
download | linux-a1f26d700aa51fc942ca07ee501b9117075c84e0.tar.xz linux-a1f26d700aa51fc942ca07ee501b9117075c84e0.zip |
bcachefs: Handle btree node rewrites before going RW
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.h')
-rw-r--r-- | fs/bcachefs/btree_update_interior.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_update_interior.h b/fs/bcachefs/btree_update_interior.h index 2e6d220c3bcd..30e9c137b0e2 100644 --- a/fs/bcachefs/btree_update_interior.h +++ b/fs/bcachefs/btree_update_interior.h @@ -318,6 +318,9 @@ void bch2_journal_entries_to_btree_roots(struct bch_fs *, struct jset *); struct jset_entry *bch2_btree_roots_to_journal_entries(struct bch_fs *, struct jset_entry *, struct jset_entry *); +void bch2_do_pending_node_rewrites(struct bch_fs *); +void bch2_free_pending_node_rewrites(struct bch_fs *); + void bch2_fs_btree_interior_update_exit(struct bch_fs *); int bch2_fs_btree_interior_update_init(struct bch_fs *); |