aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2024-11-07 14:58:19 -0600
committerDave Jiang <[email protected]>2024-11-08 09:36:29 -0700
commit06cf321aadef17c7b1578369e314193c0e1c7d8e (patch)
tree6e943b37f59aa61bb83914e356606f249b7ae8cb /tools/perf/scripts/python/exported-sql-viewer.py
parent81983758430957d9a5cb3333fe324fd70cf63e7e (diff)
range: Add range_overlaps()
Code to support CXL Dynamic Capacity devices will have extent ranges which need to be compared for intersection not a subset as is being checked in range_contains(). range_overlaps() is defined in btrfs with a different meaning from what is required in the standard range code. Dan Williams pointed this out in [1]. Adjust the btrfs call according to his suggestion there. Then add a generic range_overlaps(). Cc: Dan Williams <[email protected]> Cc: Chris Mason <[email protected]> Cc: Josef Bacik <[email protected]> Cc: David Sterba <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/all/[email protected]/ [1] Acked-by: David Sterba <[email protected]> Reviewed-by: Davidlohr Bueso <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Fan Ni <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions