aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2018-06-21 23:24:38 -0700
committerDarrick J. Wong <[email protected]>2018-06-21 23:24:38 -0700
commite2ac836307e346969737c60075fdb01bed1af503 (patch)
tree56fe6860df31c4d016db3a430dbad9387f8b4e04 /tools/perf/scripts/python/export-to-sqlite.py
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
xfs: simplify xfs_bmap_punch_delalloc_range
Instead of using xfs_bmapi_read to find delalloc extents and then punch them out using xfs_bunmapi, opencode the loop to iterate over the extents and call xfs_bmap_del_extent_delay directly. This both simplifies the code and reduces the number of extent tree lookups required. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions