Re: [Qemu-devel] [PATCH v6 07/24] block: Convert bdrv_get_block_status() to bytes

2017-10-20 Thread Kevin Wolf
Am 20.10.2017 um 17:12 hat Eric Blake geschrieben: > On 10/20/2017 09:31 AM, Kevin Wolf wrote: > > Am 12.10.2017 um 05:47 hat Eric Blake geschrieben: > >> We are gradually moving away from sector-based interfaces, towards > >> byte-based. In the common case, allocation is unlikely to ever use >

Re: [Qemu-devel] [PATCH v6 07/24] block: Convert bdrv_get_block_status() to bytes

2017-10-20 Thread Eric Blake
On 10/20/2017 09:31 AM, Kevin Wolf wrote: > Am 12.10.2017 um 05:47 hat Eric Blake geschrieben: >> We are gradually moving away from sector-based interfaces, towards >> byte-based. In the common case, allocation is unlikely to ever use >> values that are not naturally sector-aligned, but it is

Re: [Qemu-devel] [PATCH v6 07/24] block: Convert bdrv_get_block_status() to bytes

2017-10-20 Thread Kevin Wolf
Am 12.10.2017 um 05:47 hat Eric Blake geschrieben: > We are gradually moving away from sector-based interfaces, towards > byte-based. In the common case, allocation is unlikely to ever use > values that are not naturally sector-aligned, but it is possible > that byte-based values will let us be

[Qemu-devel] [PATCH v6 07/24] block: Convert bdrv_get_block_status() to bytes

2017-10-11 Thread Eric Blake
We are gradually moving away from sector-based interfaces, towards byte-based. In the common case, allocation is unlikely to ever use values that are not naturally sector-aligned, but it is possible that byte-based values will let us be more precise about allocation at the end of an unaligned