aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2020-02-25 12:56:12 +0900
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:49 +0100
commit560156cb25fcb423969543d8bc93fe95eedc6b4c (patch)
treeaa650d6eb92cdd9e9933548946acf62fd42364b5 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: factor out init_alloc_chunk_ctl (diff)
downloadlinux-dev-560156cb25fcb423969543d8bc93fe95eedc6b4c.tar.xz
linux-dev-560156cb25fcb423969543d8bc93fe95eedc6b4c.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions