Darrick J. Wong 0a0af28cad xfs: add xfs_trim_extent
This helpers allows to trim an extent to a subset of it's original range
while making sure the block numbers in it remain valid,

In the future xfs_trim_extent and xfs_bmapi_trim_map should probably be
merged in some form.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
[hch: split from a previous patch from Darrick, moved around and added
 support for "raw" delayed extents"]
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>
2016-10-20 15:51:50 +11:00
..
2016-10-20 15:51:50 +11:00
2016-10-20 15:51:50 +11:00
2016-10-20 15:42:30 +11:00
2016-07-20 11:48:31 +10:00
2016-07-20 11:48:31 +10:00
2016-10-04 18:06:40 -07:00
2016-10-04 18:06:40 -07:00
2016-10-04 18:06:40 -07:00