[dm-devel] [PATCH v5 3/8] pmem: Enable pmem_do_write() to deal with arbitrary ranges

Christoph Hellwig hch at infradead.org
Thu Feb 20 16:17:32 UTC 2020


On Tue, Feb 18, 2020 at 04:48:36PM -0500, Vivek Goyal wrote:
> Currently pmem_do_write() is written with assumption that all I/O is
> sector aligned. Soon I want to use this function in zero_page_range()
> where range passed in does not have to be sector aligned.
> 
> Modify this function to be able to deal with an arbitrary range. Which
> is specified by pmem_off and len.
> 
> Signed-off-by: Vivek Goyal <vgoyal at redhat.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>





More information about the dm-devel mailing list