diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-17 19:07:40 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:46 -0400 |
commit | 96c2e01083f19c75421002bebb819a668839184e (patch) | |
tree | a788bbcf00f2110ebbcdc6e173517fa8fad29beb /fs/bcachefs/journal_io.c | |
parent | 42af0ad569edbfcd252e9abf0badd97b895c34be (diff) | |
download | lwn-96c2e01083f19c75421002bebb819a668839184e.tar.gz lwn-96c2e01083f19c75421002bebb819a668839184e.zip |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
0 files changed, 0 insertions, 0 deletions