Re: [Qemu-devel] [PATCH v2 08/11] block/backup: add backup_is_cluster_allocated

2019-07-16 Thread Max Reitz
On 16.07.19 02:01, John Snow wrote: > Modify the existing bdrv_is_unallocated_range to utilize the pnum return > from bdrv_is_allocated; optionally returning a full number of clusters > that share the same allocation status. > > This will be used to carefully toggle bits in the bitmap for

[Qemu-devel] [PATCH v2 08/11] block/backup: add backup_is_cluster_allocated

2019-07-15 Thread John Snow
Modify the existing bdrv_is_unallocated_range to utilize the pnum return from bdrv_is_allocated; optionally returning a full number of clusters that share the same allocation status. This will be used to carefully toggle bits in the bitmap for sync=top initialization in the following commits.