diff options
author | Nikolay Borisov <nborisov@suse.com> | 2019-03-27 14:24:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:38 +0200 |
commit | 929be17a9b49b10743c3db304f939d27da1abd2f (patch) | |
tree | 8dde03ac85d946a9d09bb6fb5b4f3f41a67ef614 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45bfcfc168f84f498d9825ec20ff3f4ee9208e04 (diff) |
btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bit
Instead of always calling the allocator to search for a free extent,
that satisfies the input criteria, switch btrfs_trim_free_extents to
using find_first_clear_extent_bit. With this change it's no longer
necessary to read the device tree in order to figure out holes in
the devices.
Now the code always searches in-memory data structure to figure out the
space range which contains the requested which should result in speed
improvements.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions