[dm-devel] [PATCH 4/5] dax, iomap: Start using dax native zero_page_range()

Christoph Hellwig hch at infradead.org
Wed Feb 5 18:33:56 UTC 2020


On Mon, Feb 03, 2020 at 03:00:28PM -0500, Vivek Goyal wrote:
> +	id = dax_read_lock();
> +	rc = dax_zero_page_range(dax_dev, pgoff, offset, size);
> +	dax_read_unlock(id);
> +	return rc;

Is there a good reason not to move the locking into dax_zero_page_range?





More information about the dm-devel mailing list