diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-09 02:32:57 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-09 02:33:05 -0400 |
commit | 8d6138baac3b4fcd715c34cf325ae11b01a4ca67 (patch) | |
tree | 7b2aeefc77ca3c31e2686ca4bceaad13cd0a24d9 /libbcachefs/data_update.c | |
parent | 99caca2c70f312c4a2504a7e7a9c92a91426d885 (diff) |
Update bcachefs sources to cbccc6d869 bcachefs: Ratelimit ec error message
Diffstat (limited to 'libbcachefs/data_update.c')
-rw-r--r-- | libbcachefs/data_update.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libbcachefs/data_update.c b/libbcachefs/data_update.c index cb25efb6..3102166d 100644 --- a/libbcachefs/data_update.c +++ b/libbcachefs/data_update.c @@ -104,7 +104,6 @@ static 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; @@ -232,9 +231,6 @@ static 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); } |