Adam Litke has posted comments on this change.

Change subject: Live Merge: support active layer commit
......................................................................


Patch Set 7:

(1 comment)

http://gerrit.ovirt.org/#/c/28598/7/vdsm/virt/vm.py
File vdsm/virt/vm.py:

Line 5635:                     entry['cur'] = str(liveInfo['cur'])
Line 5636:                     entry['end'] = str(liveInfo['end'])
Line 5637:                     try:
Line 5638:                         pivot = 
libvirt.VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT
Line 5639:                         pivot = 3  # XXX: workaround libvirt bug  
(wrong type)
> I don't think I get this. I'd expect this to be in the except part.
Sorry, this slipped into the patch.  Eric Blake is fixing a bug I identified in 
his libvirt implementation where the virDomainBlockJobInfo call returns the 
wrong block job type for active commits.  This is a temporary workaround for 
that bug which needs to move out into a temporary patch for my testing only 
that would not get merged.
Line 5640:                     except AttributeError:
Line 5641:                         pivot = -1
Line 5642:                     # Is this an active layer merge which needs to 
be pivoted?
Line 5643:                     if (liveInfo['cur'] == liveInfo['end'] and


-- 
To view, visit http://gerrit.ovirt.org/28598
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Idab76081c2d004bc4f9e5bc9cb72e86845640f6a
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to