Gilad Chaplik has posted comments on this change.

Change subject: engine: Numa feature entities
......................................................................


Patch Set 12:

(3 comments)

http://gerrit.ovirt.org/#/c/23702/12/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/NumaTuneMode.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/NumaTuneMode.java:

Line 12:     private String value;
Line 13:     private static Map<String, NumaTuneMode> mappings;
Line 14: 
Line 15:     static {
Line 16:         mappings = new HashMap<String, NumaTuneMode>();
> VmStatus has an int value in as the index in the db value. totally differen
I don't follow, this enum value won't be persisted?
Line 17:         for (NumaTuneMode mode : values()) {
Line 18:             mappings.put(mode.getValue(), mode);
Line 19:         }
Line 20:     }


http://gerrit.ovirt.org/#/c/23702/12/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java:

Line 1314:         
mVdsStatic.setDisablePowerManagementPolicy(disablePowerManagementPolicy);
Line 1315:     }
Line 1316: 
Line 1317:     public int getNumaNodeCount() {
Line 1318:         return mVdsDynamic.getNumaNodeCount();
> but is it a thing we can configure? is it reported back by vdsm as a host c
reported. it may be configured but not by oVirt (in first phase). and I don't 
think it will make any scene in the future...
Line 1319:     }
Line 1320: 
Line 1321:     public List<NumaNode> getNumaNodeList() {
Line 1322:         return mVdsDynamic.getNumaNodeList();


Line 1333:     public String getNumaNodeDistance() {
Line 1334:         return mVdsDynamic.getNumaNodeDistance();
Line 1335:     }
Line 1336: 
Line 1337:     public Boolean getAutoNumaBalancing() {
> guess that's boxed for backward compatibility - host that doesn't report th
that's why I've requested javadoc.
Line 1338:         return mVdsDynamic.getAutoNumaBalancing();
Line 1339:     }
Line 1340: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifefade432e7955503980bdc6fc5d73ea32818a95
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Xiaolei Shi <xiao-lei....@hp.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Eli Mesika <elimes...@gmail.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa 
<gustavo.pedr...@eldorado.org.br>
Gerrit-Reviewer: Jiří Moskovčák <jmosk...@redhat.com>
Gerrit-Reviewer: Kobi Ianko <k...@redhat.com>
Gerrit-Reviewer: Leonardo Bianconi <leonardo.bianc...@eldorado.org.br>
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: Vitor de Lima <vitor.l...@eldorado.org.br>
Gerrit-Reviewer: Xiaolei Shi <xiao-lei....@hp.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to