summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-08-31 01:36:57 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-09-01 18:58:19 +0300
commit7996f10ce6cc6a9f4c49368209ab74631c765bbf (patch)
treee43844af75f703a5e5177b059d4fac552a89745d /tools/perf/scripts/python
parentc8e5a0bfe0086d4b99f95d98a946ebc9a56ecf20 (diff)
downloadlinux-7996f10ce6cc6a9f4c49368209ab74631c765bbf.tar.xz
xfs: factor out a xfs_growfs_rt_bmblock helper
Add a helper to contain the per-rtbitmap block logic in xfs_growfs_rt. Note that this helper now allocates a new fake mount structure for each rtbitmap block iteration instead of reusing the memory for an entire growfs call. Compared to all the other work done when freeing the blocks the overhead for this is in the noise and it keeps the code nicely modular. 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')
0 files changed, 0 insertions, 0 deletions