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(a)redhat.com>
Reviewed-by: Christoph Hellwig <hch(a)lst.de>