Re: [Qemu-devel] [PATCH 04/13] block: Switch bdrv_write_zeroes() to byte interface

2016-05-25 Thread Kevin Wolf
Am 25.05.2016 um 00:25 hat Eric Blake geschrieben: > Rename to bdrv_pwrite_zeroes() to let the compiler ensure we > cater to the updated semantics. Do the same for > bdrv_aio_write_zeroes() and bdrv_co_write_zeroes(). For now, > we still require sector alignment in the callers, via assertions. >

[Qemu-devel] [PATCH 04/13] block: Switch bdrv_write_zeroes() to byte interface

2016-05-24 Thread Eric Blake
Rename to bdrv_pwrite_zeroes() to let the compiler ensure we cater to the updated semantics. Do the same for bdrv_aio_write_zeroes() and bdrv_co_write_zeroes(). For now, we still require sector alignment in the callers, via assertions. Signed-off-by: Eric Blake --- include/block/block.h | 16