diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2011-10-31 21:18:58 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-10-31 21:18:58 +0100 |
commit | 7f06965390e4a10fb6906c886324bfd0a96961be (patch) | |
tree | 5a6fd96cd56fb9d80bf1a40110ebfcdb5a8a7aa3 /drivers/md/dm-table.c | |
parent | dm: remove superfluous smp_mb (diff) | |
download | linux-7f06965390e4a10fb6906c886324bfd0a96961be.tar.xz linux-7f06965390e4a10fb6906c886324bfd0a96961be.zip |
dm kcopyd: add dm_kcopyd_zero to zero an area
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>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions