]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: also call xfs_file_iomap_end_delalloc for zeroing operations
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Oct 2019 16:09:42 +0000 (09:09 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commitbdefd448c0e6ba647d09d89cc42837fe9aeb3f12
tree0c141b4d7bba7dc33873a292d408101610c0e05c
parentac12a92370bd5aae2cb61f8df5dc48e38e102d10
xfs: also call xfs_file_iomap_end_delalloc for zeroing operations

There is no reason not to punch out stale delalloc blocks for zeroing
operations, as they otherwise behave exactly like normal writes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_iomap.c