diff options
| author | Kent Overstreet <[email protected]> | 2022-07-19 14:51:52 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:36 -0400 |
| commit | 90cecb921cfe95858a32995019f11c20b6339607 (patch) | |
| tree | f9e0a742780d94949d6d6ae6901682b40a272b92 /tools/perf/scripts/python/flamegraph.py | |
| parent | d4bf5eecd78a90d019b933929a14c91d6d41af62 (diff) | |
bcachefs: Prevent a btree iter overflow in alloc path
In bch2_bucket_alloc_trans(), we're iterating over buckets - but not
directly with an iterator, since we're iterating over the freespace
btree.
This means that we need to clear iter->path->preserve, otherwise we'll
end up retaining a btree_path for every alloc key we touched - which is
not what we want here.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions