Re: [Qemu-devel] [PATCH v4 05/23] block: Switch bdrv_make_zero() to byte-based

2017-09-26 Thread John Snow
On 09/13/2017 12:03 PM, Eric Blake wrote: > We are gradually converting to byte-based interfaces, as they are > easier to reason about than sector-based. Change the internal > loop iteration of zeroing a device to track by bytes instead of > sectors (although we are still guaranteed that we iter

[Qemu-devel] [PATCH v4 05/23] block: Switch bdrv_make_zero() to byte-based

2017-09-13 Thread Eric Blake
We are gradually converting to byte-based interfaces, as they are easier to reason about than sector-based. Change the internal loop iteration of zeroing a device to track by bytes instead of sectors (although we are still guaranteed that we iterate by steps that are sector-aligned). Signed-off-b