]> 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, 1 Nov 2011 00:15:32 +0000 (11:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 00:15:32 +0000 (11:15 +1100)
commit8007ae1f19ce0ca5d67b7bdda6c1fb54805bb397
tree5a6fd96cd56fb9d80bf1a40110ebfcdb5a8a7aa3
parent84704e1f98b4396d829a3ace80114b66e6e4c8ee
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