diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-04 07:19:14 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-06 00:38:38 +0300 |
commit | f8c5a8415f6e23fa5b6301635d8b451627efae1c (patch) | |
tree | 87cd3e0150564d47bf71c8496f6aeaa5f9246c67 /tools/perf/scripts/python/gecko.py | |
parent | 5a7566c8d6b9b5c0aac34882f30448d29d9deafc (diff) | |
download | linux-f8c5a8415f6e23fa5b6301635d8b451627efae1c.tar.xz |
xfs: refactor xfs_rtsummary_blockcount
Make xfs_rtsummary_blockcount take all the required information from
the mount structure and return the number of summary levels from it
as well. This cleans up many of the callers and prepares for making the
rtsummary files per-rtgroup where they need to look at different value.
This means we recalculate some values in some callers, but as all these
calculations are outside the fast path and cheap, which seems like a
price worth paying.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions