From: Mikulas Patocka Date: Mon, 31 Oct 2011 20:18:58 +0000 (+0000) Subject: dm kcopyd: add dm_kcopyd_zero to zero an area X-Git-Tag: v3.2-rc1~77^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f06965390e4a10fb6906c886324bfd0a96961be;p=pandora-kernel.git dm kcopyd: add dm_kcopyd_zero to zero an area This patch introduces dm_kcopyd_zero() to make it easy to use kcopyd to write zeros into the requested areas instead instead of copying. It is implemented by passing a NULL copying source to dm_kcopyd_copy(). The forthcoming thin provisioning target uses this. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed