summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_reflink.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 09:11:36 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2016-10-05 16:26:04 -0700
commitdb1327b16c2b24e28d1e5899bced89db9ae6538e (patch)
tree26387f590ce880b409245a80c40dabe47a7dc6e5 /fs/xfs/xfs_reflink.h
parent43caeb187deb92b3cc343fce9c2310512f6ac9cd (diff)
xfs: report shared extent mappings to userspace correctly
Report shared extents through the iomap interface so that FIEMAP flags shared blocks accurately. Have xfs_vm_bmap return zero for reflinked files because the bmap-based swap code requires static block mappings, which is incompatible with copy on write. NOTE: Existing userspace bmap users such as lilo will have the same problem with reflink files. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_reflink.h')
0 files changed, 0 insertions, 0 deletions