aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2020-02-25 12:56:12 +0900
committerDavid Sterba <[email protected]>2020-03-23 17:01:49 +0100
commit560156cb25fcb423969543d8bc93fe95eedc6b4c (patch)
treeaa650d6eb92cdd9e9933548946acf62fd42364b5 /tools/perf/scripts/python/sched-migration.py
parent27c314d5ca090e046c7f49892fde7708dbd877a2 (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