diff options
author | Christoph Hellwig <[email protected]> | 2016-10-20 15:54:45 +1100 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-10-20 15:54:45 +1100 |
commit | c1112b6e626637ec09319883b63e705a931c398b (patch) | |
tree | 22bcdfb9829739e8341ee1aa302df9b58881c53e /tools/perf/scripts/python/syscall-counts.py | |
parent | 3e0ee78f7a5a8ed43b129e9e4c5c0ff10c71df74 (diff) |
xfs: optimize xfs_reflink_end_cow
Instead of doing a full extent list search for each extent that is
to be deleted using xfs_bmapi_read and then doing another one inside
of xfs_bunmapi_cow use the same scheme that xfs_bumapi uses: look
up the last extent to be deleted and then use the extent index to
walk downward until we are outside the range to be deleted.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions