block: Add .bdrv_co_pwrite_zeroes()
commitd05aa8bb4a8b6aa9a915ec5074fb12ae632d2323
authorEric Blake <eblake@redhat.com>
Wed, 1 Jun 2016 21:10:03 +0000 (1 15:10 -0600)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2016 08:21:08 +0000 (8 10:21 +0200)
tree0c3415bfcf77c141a2c4f5a4d8dc7e7cbf8e44be
parentcf081fca4e3cc02a309659b571ab0c5b225ea4cf
block: Add .bdrv_co_pwrite_zeroes()

Update bdrv_co_do_write_zeroes() to be byte-based, and select
between the new byte-based bdrv_co_pwrite_zeroes() or the old
bdrv_co_write_zeroes().  The next patches will convert drivers,
then remove the old interface.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io.c
include/block/block_int.h