]> git.baikalelectronics.ru Git - kernel.git/commit
dax,iomap: Add helper dax_iomap_zero() to zero a range
authorVivek Goyal <vgoyal@redhat.com>
Fri, 28 Feb 2020 16:34:56 +0000 (11:34 -0500)
committerDan Williams <dan.j.williams@intel.com>
Fri, 3 Apr 2020 02:15:03 +0000 (19:15 -0700)
commitd35f34e27c88dff289bede4fb8a17b5af0de21da
tree21bbf50c24f916831cfc041fcbcc17aa42dca1d9
parentf1c7b5c6055084356fa6151eef765b5c589f5d5d
dax,iomap: Add helper dax_iomap_zero() to zero a range

Add a helper dax_ioamp_zero() to zero a range. This patch basically
merges __dax_zero_page_range() and iomap_dax_zero().

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20200228163456.1587-7-vgoyal@redhat.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c
fs/iomap/buffered-io.c
include/linux/dax.h