summaryrefslogtreecommitdiff
path: root/fs/bcachefs/buckets.c
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-02-12 05:51:45 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:52 +0300
commit3277081522d8620f7410b173881d4b0267ce58f9 (patch)
tree77d6e9ace0cea64ac5a3e73f0d533dbf3d9eb3f8 /fs/bcachefs/buckets.c
parent8ffa11a2c523b49836ca05f8755e22a4607d86a7 (diff)
downloadlinux-3277081522d8620f7410b173881d4b0267ce58f9.tar.xz
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> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.c')
-rw-r--r--fs/bcachefs/buckets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets.c b/fs/bcachefs/buckets.c
index 32750a65d37a..2e1751eeaef4 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;