summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-11-02 09:39:48 +0800
committerDavid Sterba <dsterba@suse.com>2018-12-17 14:51:26 +0100
commitd06e3bb69009d21802776b8751dfe5deef7102f5 (patch)
tree96c78273990af3cf0b007723c6c6afad72c02879 /tools/perf/scripts/python/exported-sql-viewer.py
parentb4bd745d1230ddcf8de408997db9a45cd696508d (diff)
downloadcachepc-linux-d06e3bb69009d21802776b8751dfe5deef7102f5.tar.gz
cachepc-linux-d06e3bb69009d21802776b8751dfe5deef7102f5.zip
btrfs: Refactor clustered extent allocation into find_free_extent_clustered
We have two main methods to find free extents inside a block group: 1) clustered allocation 2) unclustered allocation This patch will extract the clustered allocation into find_free_extent_clustered() to make it a little easier to read. Instead of jumping between different labels in find_free_extent(), the helper function will use return value to indicate different behavior. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Reviewed-by: Josef Bacik <josef@toxicpanda.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