Change in vdsm[master]: numa: only use libvirt for memory info

danken at redhat.com danken at redhat.com
Mon Feb 8 13:07:57 UTC 2016


Dan Kenigsberg has submitted this change and it was merged.

Change subject: numa: only use libvirt for memory info
......................................................................


numa: only use libvirt for memory info

Current code queries memory usage via libvirt or /proc/meminfo,
depending on the state of machine's numa support. For some time,
(guaranteed 7.0+) even machines without direct numa support do
expose a single node that we can query.

This patch removes the 'UMA' (uniform memory architecture) code branch
and uses libvirt for all numa memory queries.

Change-Id: I0b5594a71047aae53374e4af5da95e3cd56f3835
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/53091
Reviewed-by: Francesco Romani <fromani at redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Martin Betak <mbetak at redhat.com>
Reviewed-by: Roman Mohr <rmohr at redhat.com>
---
M tests/capsTests.py
M tests/samplingTests.py
M vdsm/caps.py
M vdsm/virt/sampling.py
4 files changed, 6 insertions(+), 30 deletions(-)

Approvals:
  Roman Mohr: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Martin Betak: Looks good to me, but someone else must approve
  Francesco Romani: Looks good to me, approved
  Martin Polednik: Verified



-- 
To view, visit https://gerrit.ovirt.org/53091
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b5594a71047aae53374e4af5da95e3cd56f3835
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list