diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-09-22 17:48:25 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:27 -0400 |
commit | fe9cdf61cc7cb791c40d076503d8910fc0727310 (patch) | |
tree | 2dac9fc10d00a3406f91e88a22bd015d23659374 /fs/bcachefs/fs-io.c | |
parent | fb975d14b7737c4381e539677b2e2b99ca9f8d62 (diff) | |
download | lwn-fe9cdf61cc7cb791c40d076503d8910fc0727310.tar.gz lwn-fe9cdf61cc7cb791c40d076503d8910fc0727310.zip |
bcachefs: Count iterators for reflink_p overwrites correctly
In order to avoid trying to allocate too many btree iterators,
bch2_extent_atomic_end() needs to count how many iterators are going to
be needed for insertions and overwrites - but we weren't counting the
iterators for deleting a reflink_v when the refcount goes to 0.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
0 files changed, 0 insertions, 0 deletions