summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-17 22:12:04 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 17:51:59 +0200
commit05b30949f1aa8d797eb5c1cf7a24b9c4f8e82320 (patch)
treefb6976b8f97659e26f26de6a85dc46e3bf930c72 /fs/xfs/xfs_aops.c
parentxfs: initialize iomap->flags in xfs_bmbt_to_iomap (diff)
downloadlinux-05b30949f1aa8d797eb5c1cf7a24b9c4f8e82320.tar.xz
linux-05b30949f1aa8d797eb5c1cf7a24b9c4f8e82320.zip
xfs: set IOMAP_F_NEW more carefully
Don't set IOMAP_F_NEW if we COW over an existing allocated range, as these aren't strictly new allocations. This is required to be able to use IOMAP_F_NEW to zero newly allocated blocks, which is required for the iomap code to fully support file systems that don't do delayed allocations or use unwritten extents. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions