[libvirt] [PATCH 0/2] Report block jobs more wisely
Kashyap Chamarthy
kchamart at redhat.com
Mon Sep 5 12:31:54 UTC 2016
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 <kchamart at redhat.com>
--
/kashyap
More information about the libvir-list
mailing list