diff options
author | Christoph Hellwig <[email protected]> | 2024-10-08 10:59:21 +0200 |
---|---|---|
committer | Carlos Maiolino <[email protected]> | 2024-10-15 11:37:42 +0200 |
commit | f6f91d290c8b9da6e671bd15f306ad2d0e635a04 (patch) | |
tree | 9e70de234d7f2a6c8cac0a593ee8ea2871e6ec9a /scripts/clang-tools/gen_compile_commands.py | |
parent | 7d6fe5c586e6a866f9e69a5bdd72a72b977bab8e (diff) |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions