Yaniv Bronhaim has submitted this change and it was merged. Change subject: Live Merge: support active layer commit ......................................................................
Live Merge: support active layer commit Libvirt is currently adding support for merging the active layer. This operation works similar to a block copy job since it has two phases. In the first phase, data is merged from the active layer into base. During this phase mirroring ensures that active IO is also directed to the base snapshot. Phase 1 is complete when 'cur' == 'end' in the block job info. Vdsm triggers the second phase of the job by calling the blockJobAbort function with a special PIVOT flag which instructs libvirt to pivot the disk from the active layer to the base. Once this is complete, libvirt will stop reporting the job and vdsm will handle post-job cleanup as usual. This patch depends on currently unreleased libvirt and qemu features that are targeted for a near term release. Change-Id: Idab76081c2d004bc4f9e5bc9cb72e86845640f6a Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1109918 Signed-off-by: Adam Litke <[email protected]> Reviewed-on: http://gerrit.ovirt.org/28598 Reviewed-by: Dan Kenigsberg <[email protected]> Reviewed-by: Federico Simoncelli <[email protected]> Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1124970 Reviewed-on: http://gerrit.ovirt.org/31050 --- M vdsm/virt/vm.py 1 file changed, 31 insertions(+), 0 deletions(-) Approvals: Adam Litke: Verified Federico Simoncelli: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/31050 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idab76081c2d004bc4f9e5bc9cb72e86845640f6a Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.5 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: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: [email protected] _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
