summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-03 20:34:44 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-11-06 22:53:40 +0300
commitb121459c7a56d2fb5a8ca6727bf9f87982738b01 (patch)
tree533094a7a0f1f16f6b41dbfe915eb4849ff714ad /fs/xfs/xfs_bmap_util.c
parent41caabd0ab997bcfa9a4822fac32c0803f1cc3df (diff)
downloadlinux-b121459c7a56d2fb5a8ca6727bf9f87982738b01.tar.xz
xfs: simplify xfs_reflink_convert_cow
Instead of looking up extents to convert and calling xfs_bmapi_write on each of them just let xfs_bmapi_write handle the full range. To make this robust add a new XFS_BMAPI_CONVERT_ONLY that only converts ranges and never allocates blocks. [darrick: shorten the stringified CONVERT_ONLY trace flag] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
0 files changed, 0 insertions, 0 deletions