[dm-devel] [PATCH] dm-kcopyd: optionally zero an area instead of copying

Joe Thornber thornber at redhat.com
Thu Jun 9 10:04:30 UTC 2011


On Wed, Jun 08, 2011 at 05:55:37PM -0400, Mikulas Patocka wrote:
> Hi
> 
> This patch introduces an option to kcopyd to zero requested area instead 
> of copying. I think Joe may need something like this in his snapshot 
> store.

Could we have another function please, rather than overloading the
existing entry point?

i.e.,

int dm_kcopyd_zero(struct dm_kcopyd_client *kc,
		   unsigned num_dests, struct dm_io_region *dests,
		   unsigned flags, dm_kcopyd_notify_fn fn, void *context);

Thanks,

- Joe




More information about the dm-devel mailing list