Christoph Hellwig b121459c7a 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>
2017-11-06 11:53:40 -08:00
..
2017-10-26 15:38:26 -07:00
2017-10-26 15:38:26 -07:00
2016-10-04 11:05:44 -07:00
2017-09-02 08:22:19 -07:00
2017-10-26 15:38:25 -07:00
2017-04-03 15:18:17 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:25 -07:00
2017-10-26 15:38:27 -07:00
2017-08-04 13:43:36 -07:00
2017-10-18 18:51:27 -04:00
2017-04-03 15:18:17 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00