aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-03-27 14:24:18 +0200
committerDavid Sterba <[email protected]>2019-04-29 19:02:38 +0200
commit929be17a9b49b10743c3db304f939d27da1abd2f (patch)
tree8dde03ac85d946a9d09bb6fb5b4f3f41a67ef614 /tools/perf/scripts/python/export-to-postgresql.py
parent45bfcfc168f84f498d9825ec20ff3f4ee9208e04 (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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions