diff options
| author | Qu Wenruo <[email protected]> | 2018-11-02 09:39:47 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 14:51:26 +0100 |
| commit | b4bd745d1230ddcf8de408997db9a45cd696508d (patch) | |
| tree | 85f61b73ab803664de68eeaaf69d5b1ed79e3c45 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e2907c1a6ae1842f9c1d5393bbe966c1ccfbc335 (diff) | |
btrfs: Introduce find_free_extent_ctl structure for later rework
Instead of tons of different local variables in find_free_extent(),
extract them into find_free_extent_ctl structure, and add better
explanation for them.
Some modification may looks redundant, but will later greatly simplify
function parameter list during find_free_extent() refactor.
Also add two comments to co-operate with fb5c39d7a887 ("btrfs: don't use
ctl->free_space for max_extent_size"), to make ffe_ctl->max_extent_size
update more reader-friendly.
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: Su Yue <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
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