Doron Fediuck has posted comments on this change.

Change subject: core: cleanup VdsLoadBalancingAlgorithm
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsLoadBalancingAlgorithm.java
Line 210:         for (Guid vdsId : underUtilizedServersIds) {
Line 211:             if (!processed.contains(vdsId)) {
Line 212:                 VDS vds = getUnderUtilizedServers().get(vdsId);
Line 213:                 List<VM> vms = getMigrableVmsRunningOnVds(vdsId);
Line 214:                 if (vms.size() != 0) {
Why not change this one as well?
Line 215:                     VM vm = getBestVmToMigrate(vms, vdsId);
Line 216:                     /**
Line 217:                      * Get random desktop from under utilized server 
and try to
Line 218:                      * migrate it to other server


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I3a799848575aa8e09732f118f0b2e54e709f81e4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to