diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-10 23:37:45 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:43 -0500 |
commit | ccb7b08fbbb85e9b0bb2867497d98172a5737ad5 (patch) | |
tree | 9cc04e7750d9226ca3160b7837e8e76ae45f111a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4c5289e6323ca9d0d46b3663ace2fb44bb2594b7 (diff) |
bcachefs: trans_for_each_path() no longer uses path->idx
path->idx is now a code smell: we should be using path_idx_t, since it's
stable across btree path reallocation.
This is also a bit faster, using the same loop counter vs. fetching
path->idx from each path we iterate over.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions