diff options
| author | Qu Wenruo <[email protected]> | 2018-11-02 09:39:49 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 14:51:26 +0100 |
| commit | e1a4184815672c0cd8ea91beca3dd6d0bd4b9e53 (patch) | |
| tree | 48c3b390097ea2823553ac1d6e7bd759dc7a9c96 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d06e3bb69009d21802776b8751dfe5deef7102f5 (diff) | |
btrfs: Refactor unclustered extent allocation into find_free_extent_unclustered()
This patch will extract unclsutered extent allocation code into
find_free_extent_unclustered().
And this helper function will use return value to indicate what to do
next.
This should make find_free_extent() a little easier to read.
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: Su Yue <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
[Update merge conflict with fb5c39d7a887 ("btrfs: don't use ctl->free_space for max_extent_size")]
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions