summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-10-20 15:54:45 +1100
committerDave Chinner <david@fromorbit.com>2016-10-20 15:54:45 +1100
commitc1112b6e626637ec09319883b63e705a931c398b (patch)
tree22bcdfb9829739e8341ee1aa302df9b58881c53e /Documentation
parent3e0ee78f7a5a8ed43b129e9e4c5c0ff10c71df74 (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 <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions