Re: [libvirt] [PATCH 0/2] Report block jobs more wisely

2016-09-05 Thread Kashyap Chamarthy
On Mon, Sep 05, 2016 at 01:48:21PM +0200, Michal Privoznik wrote:
> There's been a discussion recently (even here on the list [1])
> that Nova is sometimes unable to fetch block job stats properly.
> Basically, we may report job.cur == job.end == 0 in some cases
> tricking Nova into thinking job is done when in fact it hasn't
> even started yet.
> 
> Michal Privoznik (2):
>   qemuDomainGetBlockJobInfo: Move info translation into separate func
>   virDomainGetBlockJobInfo: Fix corner case when qemu reports no info
> 
>  src/libvirt-domain.c   |  7 ++
>  src/qemu/qemu_driver.c | 58 
> --
>  2 files changed, 49 insertions(+), 16 deletions(-)

I've tested the obvious case and reported it in this thread:

http://www.redhat.com/archives/libvir-list/2016-September/msg00042.html

FWIW:

Tested-by: Kashyap Chamarthy 


-- 
/kashyap

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH 0/2] Report block jobs more wisely

2016-09-05 Thread Michal Privoznik
There's been a discussion recently (even here on the list [1])
that Nova is sometimes unable to fetch block job stats properly.
Basically, we may report job.cur == job.end == 0 in some cases
tricking Nova into thinking job is done when in fact it hasn't
even started yet.

Michal Privoznik (2):
  qemuDomainGetBlockJobInfo: Move info translation into separate func
  virDomainGetBlockJobInfo: Fix corner case when qemu reports no info

 src/libvirt-domain.c   |  7 ++
 src/qemu/qemu_driver.c | 58 --
 2 files changed, 49 insertions(+), 16 deletions(-)

-- 
2.8.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list