diff options
author | Filipe Manana <fdmanana@suse.com> | 2021-12-02 10:30:35 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-07 14:18:23 +0100 |
commit | fb81212c07b1d1870fefdf883d2d4e8a9386308b (patch) | |
tree | 50e55a3067584d6b8db9c7163a6110db770126d1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 120de408e4b97504a2d9b5ca534b383de2c73d49 (diff) |
btrfs: allow generic_bin_search() to take low boundary as an argument
Right now generic_bin_search() always uses a low boundary slot of 0, but
in the next patch we'll want to often skip slot 0 when searching for a
key. So make generic_bin_search() have the low boundary slot specified
as an argument, and move the check for the extent buffer level from
btrfs_bin_search() to generic_bin_search() to avoid adding another
wrapper around generic_bin_search().
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions