diff options
| author | Kent Overstreet | 2021-03-21 16:55:25 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:56 -0400 |
| commit | e0ba3b6429a4b5995b06dc46afdf4d3530d156bb (patch) | |
| tree | 3800b2a355122f709152ea68579a679f39c0cef8 /tools/perf/scripts/python | |
| parent | cb16bfaa86f09fae33a712510aa51a03ca370d63 (diff) | |
bcachefs: Replace bch2_btree_iter_next() calls with bch2_btree_iter_advance
The way btree iterators work internally has been changing, particularly
with the iter->real_pos changes, and bch2_btree_iter_next() is no longer
hyper optimized - it's just advance followed by peek, so it's more
efficient to just call advance where we're not using the return value of
bch2_btree_iter_next().
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
