Michael Kublin has posted comments on this change.

Change subject: core: quota support for multiple storage images - DO NOT SUBMIT
......................................................................


Patch Set 10: (4 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
Line 59: 
Why u are using map? The idea of map was imageId to storageId, at the code u 
are using DiskImage.getstorage_ids().get(0), so what is idea of map?

Line 355:                 diskInfoDestinationMap.put(image.getId(),
what is idea of the following code? get images from db and put to map dummy 
images? Why the following method ImagesHandler.getDiskImageWithStorageId was 
created?

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommonVmPoolWithVmsCommand.java
Line 295:                 for (DiskImage image : 
getVmTemplate().getDiskMap().values()) {
why not put image?

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImagesHandler.java
Line 86: 
why the following method was created?

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3e4b7e28fb9dd3069e86bd8fdf41255398fd1e58
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to