projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffa11a
)
bcachefs: Don't run triggers when repairing in __bch2_mark_reflink_p()
author
Daniel Hill
<daniel@gluo.nz>
Sun, 12 Feb 2023 02:51:45 +0000
(15:51 +1300)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:52 +0000
(17:09 -0400)
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>
fs/bcachefs/buckets.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/buckets.c
b/fs/bcachefs/buckets.c
index 32750a65d37ab3b207a1e858865ac06fc5f06a8e..2e1751eeaef4428fb54f50c2f43729171eafa4ae 100644
(file)
--- 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;