Dan Kenigsberg has submitted this change and it was merged. Change subject: image: shrink the new volume When merging block cow volumes ......................................................................
image: shrink the new volume When merging block cow volumes On merge, size of the new volume is currently the sum of virtual sizes of the original volumes that were merged. With qcow volumes on block devices we don't use the whole size of the new volume, so we want to allocate only the actual size needed by the new volume with some additions to match the vdsm conventions. Change-Id: I8ace4c48d278cb84ce871bc402643131265c3198 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=887909 Signed-off-by: Yeela Kaplan <[email protected]> Reviewed-on: http://gerrit.ovirt.org/9725 Reviewed-by: Ayal Baron <[email protected]> --- M lib/vdsm/qemuImg.py M vdsm/storage/blockVolume.py M vdsm/storage/image.py M vdsm/storage/lvm.py M vdsm/storage/volume.py 5 files changed, 82 insertions(+), 8 deletions(-) Approvals: Ayal Baron: Looks good to me, approved Yeela Kaplan: Verified Dan Kenigsberg: -- To view, visit http://gerrit.ovirt.org/9725 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8ace4c48d278cb84ce871bc402643131265c3198 Gerrit-PatchSet: 10 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yeela Kaplan <[email protected]> Gerrit-Reviewer: Ayal Baron <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Eduardo <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Shu Ming <[email protected]> Gerrit-Reviewer: Yeela Kaplan <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
