diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-04 07:19:12 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-06 00:38:37 +0300 |
commit | 1029f08dc53920048e404cb151aaa76593ee31bb (patch) | |
tree | 053a92856a02c8dc29a02b0940d7a3a129bccc99 /tools/perf/scripts/python/gecko.py | |
parent | cb9cd6e56e482b56ddf052b66af6e9fb51b7fb33 (diff) | |
download | linux-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