summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-10-08 11:59:21 +0300
committerCarlos Maiolino <cem@kernel.org>2024-10-15 12:37:42 +0300
commitf6f91d290c8b9da6e671bd15f306ad2d0e635a04 (patch)
tree9e70de234d7f2a6c8cac0a593ee8ea2871e6ec9a /include/linux/nfs_fs_sb.h
parent7d6fe5c586e6a866f9e69a5bdd72a72b977bab8e (diff)
downloadlinux-f6f91d290c8b9da6e671bd15f306ad2d0e635a04.tar.xz
xfs: punch delalloc extents from the COW fork for COW writes
When ->iomap_end is called on a short write to the COW fork it needs to punch stale delalloc data from the COW fork and not the data fork. Ensure that IOMAP_F_NEW is set for new COW fork allocations in xfs_buffered_write_iomap_begin, and then use the IOMAP_F_SHARED flag in xfs_buffered_write_delalloc_punch to decide which fork to punch. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions