Change in vdsm[master]: vm: Support replication to different storage type

danken at redhat.com danken at redhat.com
Fri May 22 16:25:58 UTC 2015


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 <nsoffer at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/40185
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Federico Simoncelli <fsimonce at redhat.com>
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 <nsoffer at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list