From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: [PATCH] dm-kcopyd: optionally zero an area instead of copying Date: Thu, 9 Jun 2011 11:04:30 +0100 Message-ID: <20110609100429.GE3152@ubuntu> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Alasdair G. Kergon" List-Id: dm-devel.ids 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