diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:36 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-05 16:26:04 -0700 |
commit | db1327b16c2b24e28d1e5899bced89db9ae6538e (patch) | |
tree | 26387f590ce880b409245a80c40dabe47a7dc6e5 /crypto/lrw.c | |
parent | 43caeb187deb92b3cc343fce9c2310512f6ac9cd (diff) | |
download | linux-stable-db1327b16c2b24e28d1e5899bced89db9ae6538e.tar.gz linux-stable-db1327b16c2b24e28d1e5899bced89db9ae6538e.tar.bz2 linux-stable-db1327b16c2b24e28d1e5899bced89db9ae6538e.zip |
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 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions