]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: reflink can skip remap existing mappings
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Jun 2020 21:47:19 +0000 (14:47 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Jul 2020 17:46:57 +0000 (10:46 -0700)
commit9b85d271d47868217508bbe84668a4705bf905f2
tree70cfe01a8b1fdc5c1f382bd34da529911308256c
parent5220c578abfa1ed7bd5407f51109c1cde4255965
xfs: reflink can skip remap existing mappings

If the source and destination map are identical, we can skip the remap
step to save some time.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_reflink.c