diff options
| author | Kent Overstreet | 2020-01-06 22:25:09 -0500 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:34 -0400 |
| commit | 9626aeb167144db2ba235bde5f9f1863c3ef354b (patch) | |
| tree | d92648cf2688e9433457373bf2af9ff85340e6c9 /tools/perf/scripts/python/bin | |
| parent | f2e8c69fcb63d280d1013b84973889e3aecd6603 (diff) | |
bcachefs: Rework iter->pos handling
- Rework some of the helper comparison functions for consistency
- Currently trying to refactor all the logic that's different for
extents in the btree iterator code. The main difference is that for non
extents we search for a key greater than or equal to the search key,
while for extents we search for a key strictly greater than the search
key (iter->pos).
So that logic is now handled by btree_iter_search_key(), which computes
the real search key based on iter->pos and whether or not we're
searching for a key >= or > iter->pos.
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/bin')
0 files changed, 0 insertions, 0 deletions
