]> 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>
Thu, 18 Aug 2011 01:28:49 +0000 (11:28 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Aug 2011 01:30:05 +0000 (11:30 +1000)
commit371b034793621744ff8298ebfbc163fc2241e534
tree3f45003645b1b7d769901faa9490a759e04ffffc
parent32f46c3e9e4c542560212b84ac9940176339c152
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