Dan Kenigsberg has submitted this change and it was merged.

Change subject: Fix memShared units when reported from MOM
......................................................................


Fix memShared units when reported from MOM

MOM reports the ksm_pages_sharing value in raw pages.
Both VDSM and engine expect megabytes, so this patch adds
the necessary conversion.

This also moves the PAGE_SIZE_BYTES to caps.py to avoid
circular dependency.

Change-Id: Ie6a68221d74192c38de158fca4d5f96f268150ab
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1072030
Signed-off-by: Martin Sivak <msi...@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/28115
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
---
M vdsm/API.py
M vdsm/caps.py
M vdsm/momIF.py
3 files changed, 10 insertions(+), 3 deletions(-)

Approvals:
  Martin Sivák: Verified
  Dan Kenigsberg: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6a68221d74192c38de158fca4d5f96f268150ab
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Adam Litke <ali...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Lee Yarwood <lyarw...@redhat.com>
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to