summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-18 07:57:25 +0300
committerChandan Babu R <chandanbabu@kernel.org>2023-12-22 08:48:12 +0300
commita3e48f68b5f4bc83cdded35be2c4c3cc23eb9e19 (patch)
tree3d85ceb30f40aa34ea5b07e0c6068f314f8b8d72 /tools/perf/scripts/python/export-to-sqlite.py
parent676544c27e710aee7f8357f57abd348d98b1ccd4 (diff)
downloadlinux-a3e48f68b5f4bc83cdded35be2c4c3cc23eb9e19.tar.xz
xfs: cleanup picking the start extent hint in xfs_bmap_rtalloc
Clean up the logical in xfs_bmap_rtalloc that tries to find a rtextent to start the search from by using a separate variable for the hint, not calling xfs_bmap_adjacent when we want to ignore the locality and avoid an extra roundtrip converting between block numbers and RT extent numbers. As a side-effect this doesn't pointlessly call xfs_rtpick_extent and increment the start rtextent hint if we are going to ignore the result anyway. 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-sqlite.py')
0 files changed, 0 insertions, 0 deletions