Commit 32770815 authored by Daniel Hill's avatar Daniel Hill Committed by Kent Overstreet

bcachefs: Don't run triggers when repairing in __bch2_mark_reflink_p()

Triggers current trip-up on the faulty reflink we're trying to repair,
Disabling them lets us fix broken reflink and continue.
Signed-off-by: default avatarDaniel Hill <daniel@gluo.nz>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8ffa11a2
......@@ -1225,7 +1225,7 @@ static s64 __bch2_mark_reflink_p(struct btree_trans *trans,
new->k.p.offset += *idx - start;
bch2_key_resize(&new->k, next_idx - *idx);
ret = __bch2_btree_insert(trans, BTREE_ID_extents, &new->k_i,
0);
BTREE_TRIGGER_NORUN);
}
*idx = next_idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment