Adam Litke has posted comments on this change.

Change subject: virt: Check if a drive is chuhked before extending
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.ovirt.org/#/c/37573/3/vdsm/virt/vm.py
File vdsm/virt/vm.py:

Line 4776:         # the worst case, we'll need to extend 'base' to the same 
size as 'top'
Line 4777:         # plus a bit more to accomodate additional writes to 'top' 
during the
Line 4778:         # live merge operation.
Line 4779:         if drive.chunked:
Line 4780:             self.extendDriveVolume(drive, baseVolUUID, topSize)
What happens for a chain with a RAW base volume and a cow snapshot?  Won't this 
end up calling extend on the preallocated RAW base volume?
Line 4781: 
Line 4782:         # Trigger the collection of stats before returning so that 
callers
Line 4783:         # of getVmStats after this returns will see the new job
Line 4784:         self._vmStats.sampleVmJobs()


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I48416dde002272d45761296f176b97f4d870849d
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Adam Litke <ali...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to