diff options
author | Daniel Hill <daniel@gluo.nz> | 2023-02-12 15:51:45 +1300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-13 11:34:49 -0400 |
commit | c80018dbac3401d89816d761dd61670825b5042f (patch) | |
tree | d9f095aedaadde0572bc7583ef86d85ae4317ce8 | |
parent | d8745ee78e9b40b8896059558cccf764987adef5 (diff) |
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: Daniel Hill <daniel@gluo.nz>
-rw-r--r-- | fs/bcachefs/buckets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets.c b/fs/bcachefs/buckets.c index 3ef09a70e9bb..fd3ba10bc8a7 100644 --- a/fs/bcachefs/buckets.c +++ b/fs/bcachefs/buckets.c @@ -1225,7 +1225,7 @@ not_found: 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; |