diff options
author | 2021-12-02 10:30:35 +0000 | |
---|---|---|
committer | 2022-01-07 14:18:23 +0100 | |
commit | fb81212c07b1d1870fefdf883d2d4e8a9386308b (patch) | |
tree | 50e55a3067584d6b8db9c7163a6110db770126d1 /tools/perf/scripts/python | |
parent | btrfs: check the root node for uptodate before returning it (diff) | |
download | linux-dev-fb81212c07b1d1870fefdf883d2d4e8a9386308b.tar.xz linux-dev-fb81212c07b1d1870fefdf883d2d4e8a9386308b.zip |
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')
0 files changed, 0 insertions, 0 deletions