Nir Soffer has posted comments on this change.
Change subject: vm: Update LUN size when starting a vm ......................................................................
Patch Set 1:
(1 comment)
http://gerrit.ovirt.org/#/c/24235/1/vdsm/vm.py File vdsm/vm.py:
Line 630: dStats = {'truesize': str(vmDrive.truesize), Line 631: 'apparentsize': str(vmDrive.apparentsize)} Line 632: if isVdsmImage(vmDrive): Line 633: dStats['imageID'] = vmDrive.imageID Line 634: else:
Currently, we have either of them. I.e. we have an imageID or a GUID. I can
What about CD ROM and floppy? - they are in the disk devices list. Line 635: dStats['lunGUID'] = vmDrive.GUID Line 636: dStats['readRate'] = ((eInfo[dName][1] - sInfo[dName][1]) / Line 637: sampleInterval) Line 638: dStats['writeRate'] = ((eInfo[dName][3] - sInfo[dName][3]) /