diff options
author | 2022-07-09 08:18:42 +0900 | |
---|---|---|
committer | 2022-07-25 17:45:41 +0200 | |
commit | d760156601af233f9223c23588e9c65950539ded (patch) | |
tree | fdbaa83ff3a7298de30715d757ed9506fba69346 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: convert count_max_extents() to use fs_info->max_extent_size (diff) | |
download | linux-dev-d760156601af233f9223c23588e9c65950539ded.tar.xz linux-dev-d760156601af233f9223c23588e9c65950539ded.zip |
btrfs: use fs_info->max_extent_size in get_extent_max_capacity()
Use fs_info->max_extent_size also in get_extent_max_capacity() for the
completeness. This is only used for defrag and not really necessary to fix
the metadata reservation size. But, it still suppresses unnecessary defrag
operations.
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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