Dan Kenigsberg has submitted this change and it was merged.

Change subject: vm: Support replication to different storage type
......................................................................


vm: Support replication to different storage type

When monitoring replicated drive, we must use hybrid approach; For
block-based drive, we get the required extend info from libvirt. For
file-based drives, libvirt cannot report the physical size of the drive,
so we get it from the replica using irs.getVolumeSize().

When extending replicated drive, we extend the drive or the replica
only if they are chunked.

Change-Id: I70eb93082af81fe54268ee0133d1252c0d537ca8
Bug-Url: https://bugzilla.redhat.com/1058732
Bug-Url: https://bugzilla.redhat.com/1058749
Signed-off-by: Nir Soffer <[email protected]>
Reviewed-on: https://gerrit.ovirt.org/40185
Reviewed-by: Francesco Romani <[email protected]>
Reviewed-by: Federico Simoncelli <[email protected]>
Continuous-Integration: Jenkins CI
---
M vdsm/virt/vm.py
1 file changed, 38 insertions(+), 11 deletions(-)

Approvals:
  Nir Soffer: Verified
  Jenkins CI: Passed CI tests
  Federico Simoncelli: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/40185
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I70eb93082af81fe54268ee0133d1252c0d537ca8
Gerrit-PatchSet: 15
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Ala Hino <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Freddy Rolland <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to