aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2023-06-30 00:39:45 +0000
committerDarrick J. Wong <[email protected]>2023-07-02 16:26:19 +0000
commita949a1c2a198e048630a8b0741a99b85a5d88136 (patch)
tree335dd8a637658f801d48a7078a13431b078f9a1c /tools/perf/scripts/python/event_analyzing_sample.py
parentxfs: clean up the rtbitmap fsmap backend (diff)
downloadkernel-a949a1c2a198e048630a8b0741a99b85a5d88136.tar.gz
kernel-a949a1c2a198e048630a8b0741a99b85a5d88136.zip
xfs: fix logdev fsmap query result filtering
The external log device fsmap backend doesn't have an rmapbt to query, so it's wasteful to spend time initializing the rmap_irec objects. Worse yet, the log could (someday) be longer than 2^32 fsblocks, so using the rmap irec structure will result in integer overflows. Fix this mess by computing the start address that we want from keys[0] directly, and use the daddr-based record filtering algorithm that we also use for rtbitmap queries. Fixes: e89c041338ed ("xfs: implement the GETFSMAP ioctl") Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions