diff options
| author | 2020-02-25 12:56:12 +0900 | |
|---|---|---|
| committer | 2020-03-23 17:01:49 +0100 | |
| commit | 560156cb25fcb423969543d8bc93fe95eedc6b4c (patch) | |
| tree | aa650d6eb92cdd9e9933548946acf62fd42364b5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | btrfs: factor out init_alloc_chunk_ctl (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 <josef@toxicpanda.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
