Gilad Chaplik has posted comments on this change.

Change subject: engine: scheduling: add cluster overbooking
......................................................................


Patch Set 3:

(1 comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/SchedulingManager.java
Line 173:             VdsFreeMemoryChecker memoryChecker) {
Line 174:         clusterLockMap.putIfAbsent(cluster.getId(), new Semaphore(1));
Line 175:         try {
Line 176:             if (!cluster.isSchedulerAllowOverbooking()
Line 177:                     || !Config.<Boolean> 
GetValue(ConfigValues.OptimizeSchedulerAllowOverBookingSupported)) {
if cluster.allowOverBooking = true and the config value is turned off, you 
still want to acquire the lock.
Line 178:                 clusterLockMap.get(cluster.getId()).acquire();
Line 179:             }
Line 180:             List<VDS> vdsList = getVdsDAO()
Line 181:                     .getAllForVdsGroupWithStatus(cluster.getId(), 
VDSStatus.Up);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If52abf9974ab71b1f8d52ca268dac8dc39b89dc8
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to