Commit 96c2e010 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a transaction path overflow



It turns out we need bch2_extent_trim_atomi() even when we're deleting
extents one at a time because it's possible for one reflink_p to
reference arbitrarily many reflink_v extents. This doesn't normally
happen, but the data move path can fragment existing extents in the
background.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 42af0ad5
Supports Markdown
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