Re: [PATCH V5] block/rbd: implement bdrv_co_block_status

2021-10-19 Thread Kevin Wolf
Am 12.10.2021 um 17:22 hat Peter Lieven geschrieben: > the qemu rbd driver currently lacks support for bdrv_co_block_status. > This results mainly in incorrect progress during block operations (e.g. > qemu-img convert with an rbd image as source). > > This patch utilizes the rbd_diff_iterate2 call

Re: [PATCH V5] block/rbd: implement bdrv_co_block_status

2021-10-17 Thread Ilya Dryomov
On Tue, Oct 12, 2021 at 5:22 PM Peter Lieven wrote: > > the qemu rbd driver currently lacks support for bdrv_co_block_status. > This results mainly in incorrect progress during block operations (e.g. > qemu-img convert with an rbd image as source). > > This patch utilizes the rbd_diff_iterate2 cal

[PATCH V5] block/rbd: implement bdrv_co_block_status

2021-10-12 Thread Peter Lieven
the qemu rbd driver currently lacks support for bdrv_co_block_status. This results mainly in incorrect progress during block operations (e.g. qemu-img convert with an rbd image as source). This patch utilizes the rbd_diff_iterate2 call from librbd to detect allocated and unallocated (all zero area