diff options
author | 2023-09-12 01:09:23 +0200 | |
---|---|---|
committer | 2023-10-12 16:44:14 +0200 | |
commit | 99be1a66e1fe6c62fbd7c1b0c50ea38c33ffdd5a (patch) | |
tree | 4d83e0ee8336713d3455a43aac36159cb2d5e74b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: move btrfs_realloc_node() from ctree.c into defrag.c (diff) | |
download | wireguard-linux-99be1a66e1fe6c62fbd7c1b0c50ea38c33ffdd5a.tar.xz wireguard-linux-99be1a66e1fe6c62fbd7c1b0c50ea38c33ffdd5a.zip |
btrfs: add specific helper for range bit test exists
The existing helper test_range_bit works in two ways, checks if the whole
range contains all the bits, or stop on the first occurrence. By adding
a specific helper for the latter case, the inner loop can be simplified
and contains fewer conditionals, making it a bit faster.
There's no caller that uses the cached state pointer so this reduces the
argument count further.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions