Skip to content

Commit

Permalink
xfs: use interval query for rmap alloc operations on shared files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Darrick J. Wong committed Oct 5, 2016
1 parent 0e07c03 commit ceeb9c8
Show file tree
Hide file tree
Showing 4 changed files with 530 additions and 2 deletions.
Loading

0 comments on commit ceeb9c8

Please sign in to comment.