]> git.karo-electronics.de Git - karo-tx-linux.git/commit
This patch introduces dm_kcopyd_zero() to make it easy to use
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
commit34997c49f1a1269d0dfb70080350f6d9a5584d0b
tree64411d666cffd743be39c8a651b611de83e0250c
parentfb747b392093aa8ad316e007430f94a6a22d6f43
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 <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-kcopyd.c
include/linux/dm-kcopyd.h