diff options
| author | Kent Overstreet | 2019-08-19 13:43:01 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:25 -0400 |
| commit | e67ab0450cca7dc1673e4cd00eecf9d896b15889 (patch) | |
| tree | 8d50317ed64879a1b9b692c25d66685eaad1c930 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9df279407a2daaf8e6586be483632fe9aaca6ef3 (diff) | |
bcachefs: Fix bch2_btree_node_iter_prev_filter()
bch2_btree_node_iter_prev_filter() tried to be smart about iterating
backwards when skipping over whiteouts/discards - but unfortunately,
doing so can leave the node iterator in an inconsistent state; the sane
solution is to just always iterate backwards one key at a time.
But we compact btree nodes when more than a quarter of the keys are
whiteouts/discards, so the optimization wasn't buying us that much
anyways.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
