]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: handle zeroing in xfs_file_iomap_begin_delay
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 06:19:26 +0000 (17:19 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Oct 2018 06:19:26 +0000 (17:19 +1100)
commit8e79d6f38af5c4732f1972bf4d8fa4f4f38d81ea
tree2332527e376682dbbb03617919b7e3c407db8bab
parentbc44b68821f99c890a0ec6bada1c491334a808e9
xfs: handle zeroing in xfs_file_iomap_begin_delay

We only need to allocate blocks for zeroing for reflink inodes,
and for we currently have a special case for reflink files in
the otherwise direct I/O path that I'd like to get rid of.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_iomap.c