diff options
| author | 2018-11-02 09:39:49 +0800 | |
|---|---|---|
| committer | 2018-12-17 14:51:26 +0100 | |
| commit | e1a4184815672c0cd8ea91beca3dd6d0bd4b9e53 (patch) | |
| tree | 48c3b390097ea2823553ac1d6e7bd759dc7a9c96 /tools/lib/python/kdoc/python_version.py | |
| parent | btrfs: Refactor clustered extent allocation into find_free_extent_clustered (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 <wqu@suse.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
[Update merge conflict with fb5c39d7a887 ("btrfs: don't use ctl->free_space for max_extent_size")]
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
