aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-11-17 18:38:09 -0500
committerKent Overstreet <[email protected]>2024-01-01 11:47:37 -0500
commitad9c7992eb9906caf17aa88f1fd41770879d1cb6 (patch)
treeceea9e692991bb708ee6f41afba98752db1681c7 /tools/perf/scripts/python/bin
parent1ae8a0904a6a7b16ee2ffa30153d4e5c38719321 (diff)
bcachefs: Kill btree_iter->journal_pos
For BTREE_ITER_WITH_JOURNAL, we memoize lookups in the journal keys, to avoid the binary search overhead. Previously we stashed the pos of the last key returned from the journal, in order to force the lookup to be redone when rewinding. Now bch2_journal_keys_peek_upto() handles rewinding itself when necessary - so we can slim down btree_iter. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions