]> 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 23:13:33 +0000 (09:13 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Aug 2011 23:17:56 +0000 (09:17 +1000)
commit962ac86ff1103bd4a30bc5d0fdf5f25bee2e6e70
tree5fe5ee0d9f485a98556e87753c2ce83257dc7057
parente78fd1ea1c48cd60badcbb9899fc63c29bd7a7f8
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