diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2024-10-02 08:00:40 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-08 16:28:19 +0100 |
| commit | 3c06d13ec80bec0833e054bf72453dc4ac698060 (patch) | |
| tree | cdf26d16f4c83bddcda9ad04811a6c093f5ab8e0 /include | |
| parent | 61ada9422009e1095c575015deb9bd62a615d544 (diff) | |
| download | linux-3c06d13ec80bec0833e054bf72453dc4ac698060.tar.gz linux-3c06d13ec80bec0833e054bf72453dc4ac698060.tar.bz2 linux-3c06d13ec80bec0833e054bf72453dc4ac698060.zip | |
iomap: don't bother unsharing delalloc extents
[ Upstream commit f7a4874d977bf4202ad575031222e78809a36292 ]
If unshare encounters a delalloc reservation in the srcmap, that means
that the file range isn't shared because delalloc reservations cannot be
reflinked. Therefore, don't try to unshare them.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20241002150040.GB21853@frogsfrogsfrogs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 50793801fc7f ("fsdax: dax_unshare_iter needs to copy entire blocks")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
