Re: [Qemu-block] [PATCH v12 03/10] qcow2: Correctly report status of preallocated zero clusters

2017-05-05 Thread Max Reitz
On 04.05.2017 05:07, Eric Blake wrote: > We were throwing away the preallocation information associated with > zero clusters. But we should be matching the well-defined semantics > in bdrv_get_block_status(), where (BDRV_BLOCK_ZERO | > BDRV_BLOCK_OFFSET_VALID) informs the user which offset is

[Qemu-block] [PATCH v12 03/10] qcow2: Correctly report status of preallocated zero clusters

2017-05-03 Thread Eric Blake
We were throwing away the preallocation information associated with zero clusters. But we should be matching the well-defined semantics in bdrv_get_block_status(), where (BDRV_BLOCK_ZERO | BDRV_BLOCK_OFFSET_VALID) informs the user which offset is reserved, while still reminding the user that