diff options
author | 2023-12-18 05:57:35 +0100 | |
---|---|---|
committer | 2023-12-22 11:18:15 +0530 | |
commit | 26e5eed7802299a666714ee511da58d906e8770c (patch) | |
tree | 6662bd15fef4842e3cd2df5770b7285e83bc6157 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: remove XFS_RTMIN/XFS_RTMAX (diff) | |
download | wireguard-linux-26e5eed7802299a666714ee511da58d906e8770c.tar.xz wireguard-linux-26e5eed7802299a666714ee511da58d906e8770c.zip |
xfs: reorder the minlen and prod calculations in xfs_bmap_rtalloc
xfs_bmap_rtalloc is a bit of a mess in terms of calculating the locally
need variables. Reorder them a bit so that related code is located
next to each other - the raminlen calculation moves up next to where
the maximum len is calculated, and all the prod calculation is move
into a single place and rearranged so that the real prod calculation
only happens when it actually is needed.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions