diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-09 00:47:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:51 -0400 |
commit | c9828cea312e83f3f17f4a80990f91739ff33d06 (patch) | |
tree | 182b98c9bdbdb53ed5fec195dda0ac20f8dfe63a /fs/bcachefs/data_update.c | |
parent | dea5647e16d15ee7c47dbe11b1f68ec221dc51be (diff) |
bcachefs: Delete in memory ec backpointers
Post btree backpointers, these aren't needed anymore.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/data_update.c')
-rw-r--r-- | fs/bcachefs/data_update.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c index acb634b3480b..d2b1296c4c49 100644 --- a/fs/bcachefs/data_update.c +++ b/fs/bcachefs/data_update.c @@ -103,7 +103,6 @@ int bch2_data_update_index_update(struct bch_write_op *op) struct btree_iter iter; struct data_update *m = container_of(op, struct data_update, op); - struct open_bucket *ec_ob = ec_open_bucket(c, &op->open_buckets); struct keylist *keys = &op->insert_keys; struct bkey_buf _new, _insert; int ret = 0; @@ -242,9 +241,6 @@ int bch2_data_update_index_update(struct bch_write_op *op) if (!ret) { bch2_btree_iter_set_pos(&iter, next_pos); - if (ec_ob) - bch2_ob_add_backpointer(c, ec_ob, &insert->k); - this_cpu_add(c->counters[BCH_COUNTER_move_extent_finish], new->k.size); trace_move_extent_finish(&new->k); } |