diff options
author | Naohiro Aota <[email protected]> | 2020-02-25 12:56:12 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-03-23 17:01:49 +0100 |
commit | 560156cb25fcb423969543d8bc93fe95eedc6b4c (patch) | |
tree | aa650d6eb92cdd9e9933548946acf62fd42364b5 /tools/perf/scripts/python/sched-migration.py | |
parent | 27c314d5ca090e046c7f49892fde7708dbd877a2 (diff) |
btrfs: factor out gather_device_info()
Factor out gather_device_info() from __btrfs_alloc_chunk(). This
function iterates over devices list and gather information about
devices. This commit also introduces "max_avail" and
"dev_extent_min" to fold the same calculation to one variable.
This commit has no functional changes.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions