summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trace.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-10-20 15:54:31 +1100
committerDave Chinner <david@fromorbit.com>2016-10-20 15:54:31 +1100
commit3e0ee78f7a5a8ed43b129e9e4c5c0ff10c71df74 (patch)
treed4ce021a6f8d74d89d5567a6cb150aeb3180cb0a /fs/xfs/xfs_trace.h
parentfa5c836ca8eb5bad6316ddfc066acbc4e2485356 (diff)
downloadop-kernel-dev-3e0ee78f7a5a8ed43b129e9e4c5c0ff10c71df74.zip
op-kernel-dev-3e0ee78f7a5a8ed43b129e9e4c5c0ff10c71df74.tar.gz
xfs: optimize xfs_reflink_cancel_cow_blocks
Rewrite xfs_reflink_cancel_cow_blocks so that we only do a search for the first extent in the extent list and then iterate over the remaining extents using the extent index, passing the extent we operate on directly to xfs_bmap_del_extent_delay or xfs_bmap_del_extent_cow instead of going through xfs_bunmapi and doing yet another extent list lookup. 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 'fs/xfs/xfs_trace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud