diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-28 02:11:00 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-05 23:24:20 -0500 |
commit | 4f9ec59f8fd658d832460aa25c145bdecfdbaa2d (patch) | |
tree | cb89f9173b55c192c3c4fffd99e54fe23061f700 /fs/bcachefs/buckets.h | |
parent | 5a82ec3feaaf8be8f566fd535bac5dca4a00dfc7 (diff) | |
download | linux-4f9ec59f8fd658d832460aa25c145bdecfdbaa2d.tar.gz linux-4f9ec59f8fd658d832460aa25c145bdecfdbaa2d.tar.bz2 linux-4f9ec59f8fd658d832460aa25c145bdecfdbaa2d.zip |
bcachefs: unify extent trigger
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.h')
-rw-r--r-- | fs/bcachefs/buckets.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/bcachefs/buckets.h b/fs/bcachefs/buckets.h index 3c0b868cf858..2c95cc5d86be 100644 --- a/fs/bcachefs/buckets.h +++ b/fs/bcachefs/buckets.h @@ -340,12 +340,11 @@ int bch2_mark_metadata_bucket(struct bch_fs *, struct bch_dev *, size_t, enum bch_data_type, unsigned, struct gc_pos, unsigned); -int bch2_mark_extent(struct btree_trans *, enum btree_id, unsigned, - struct bkey_s_c, struct bkey_s, unsigned); +int bch2_trigger_extent(struct btree_trans *, enum btree_id, unsigned, + struct bkey_s_c, struct bkey_s, unsigned); int bch2_trigger_reservation(struct btree_trans *, enum btree_id, unsigned, struct bkey_s_c, struct bkey_s, unsigned); -int bch2_trans_mark_extent(struct btree_trans *, enum btree_id, unsigned, struct bkey_s_c, struct bkey_s, unsigned); #define trigger_run_overwrite_then_insert(_fn, _trans, _btree_id, _level, _old, _new, _flags)\ ({ \ int ret = 0; \ |