summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-12-03 20:19:44 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-12-07 05:45:17 +0300
commitcf8f0e6c1429be7652869059ea44696b72d5b726 (patch)
treeb1fb05f56e2f57cb10e9abdc6305a10ce34bafc0 /tools/perf/scripts/python/gecko.py
parenta6a38f309afc4a7ede01242b603f36c433997780 (diff)
downloadlinux-cf8f0e6c1429be7652869059ea44696b72d5b726.tar.xz
xfs: fix 32-bit truncation in xfs_compute_rextslog
It's quite reasonable that some customer somewhere will want to configure a realtime volume with more than 2^32 extents. If they try to do this, the highbit32() call will truncate the upper bits of the xfs_rtbxlen_t and produce the wrong value for rextslog. This in turn causes the rsumlevels to be wrong, which results in a realtime summary file that is the wrong length. Fix that. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions