]> 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, 11 Oct 2011 00:45:58 +0000 (11:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 00:45:58 +0000 (11:45 +1100)
commit9f7bdce3475327c11285f9ab968d262ff2f6c206
tree67c6dcb0921f3a0260ad53ae302f7b8ba3839a01
parenta52d5e72b6b0ff94dc59f2159e42c53f245c43cc
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