Re: [Qemu-block] [PATCH v5 07/23] block: Convert bdrv_get_block_status() to bytes

2017-10-10 Thread Eric Blake
On 10/10/2017 09:46 AM, Kevin Wolf wrote: > Am 04.10.2017 um 04:00 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 poss

Re: [Qemu-block] [PATCH v5 07/23] block: Convert bdrv_get_block_status() to bytes

2017-10-10 Thread Kevin Wolf
Am 04.10.2017 um 04:00 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 mo

[Qemu-block] [PATCH v5 07/23] block: Convert bdrv_get_block_status() to bytes

2017-10-03 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 file