diff options
author | Christoph Hellwig <[email protected]> | 2019-10-17 13:12:04 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2019-10-21 08:51:59 -0700 |
commit | 05b30949f1aa8d797eb5c1cf7a24b9c4f8e82320 (patch) | |
tree | fb6976b8f97659e26f26de6a85dc46e3bf930c72 /include/linux/overflow.h | |
parent | 2492a606b3d24ed901203bd4db19f46d112811c7 (diff) |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions