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)
commit4f3b4f161d7a070d2181dbcf7fbd97c7631d5c24
tree21bbf50c24f916831cfc041fcbcc17aa42dca1d9
parent0a23f9ffa5ac20d3c95a6e850f4ee68e4034f781
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