diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:48 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-05 16:26:29 -0700 |
commit | ceeb9c832eeca5c1c2efc54a38f67283ccb60288 (patch) | |
tree | 9758e097e4b7ffcbca52b5689acc5588e83db920 /fs/ceph | |
parent | 0e07c039bac5f6ce7e3bc512ab9efb4aaa76da94 (diff) | |
download | op-kernel-dev-ceeb9c832eeca5c1c2efc54a38f67283ccb60288.zip op-kernel-dev-ceeb9c832eeca5c1c2efc54a38f67283ccb60288.tar.gz |
xfs: use interval query for rmap alloc operations on shared files
When it's possible for reverse mappings to overlap (data fork extents
of files on reflink filesystems), use the interval query function to
find the left neighbor of an extent we're trying to add; and be
careful to use the lookup functions to update the neighbors and/or
add new extents.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions