summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iomap.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 16:11:36 (GMT)
committerDarrick J. Wong <darrick.wong@oracle.com>2016-10-05 23:26:04 (GMT)
commitdb1327b16c2b24e28d1e5899bced89db9ae6538e (patch)
tree26387f590ce880b409245a80c40dabe47a7dc6e5 /fs/xfs/xfs_iomap.h
parent43caeb187deb92b3cc343fce9c2310512f6ac9cd (diff)
downloadlinux-db1327b16c2b24e28d1e5899bced89db9ae6538e.tar.xz
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_iomap.h')
0 files changed, 0 insertions, 0 deletions