summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-04 07:19:12 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-11-06 00:38:37 +0300
commit1029f08dc53920048e404cb151aaa76593ee31bb (patch)
tree053a92856a02c8dc29a02b0940d7a3a129bccc99 /tools/perf/scripts/python/gecko.py
parentcb9cd6e56e482b56ddf052b66af6e9fb51b7fb33 (diff)
downloadlinux-1029f08dc53920048e404cb151aaa76593ee31bb.tar.xz
xfs: factor out a xfs_growfs_rt_alloc_fake_mount helper
Split the code to set up a fake mount point to calculate new RT geometry out of xfs_growfs_rt_bmblock so that it can be reused. Note that this changes the rmblocks calculation method to be based on the passed in rblocks and extsize and not the explicitly passed one, but both methods will always lead to the same result. The new version just does a little bit more math while being more general. 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