Adam Litke has uploaded a new change for review.

Change subject: KSM: Only tune when there are changes to make
......................................................................

KSM: Only tune when there are changes to make

The KSM Controller tries to figure out if the policy has indicated any
changes to the ksm configuration.  When none are found, the Controller
should finish quietly with no call to the hypervisor interface.  Due to
an indentation error, it is calling the KSM tuning function
unconditionally.  Fix.

Change-Id: I2b082e35eae9d3a790da8c6e11e2c17fc70a056d
Signed-off-by: Adam Litke <[email protected]>
---
M mom/Controllers/KSM.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/mom refs/changes/11/17711/1

diff --git a/mom/Controllers/KSM.py b/mom/Controllers/KSM.py
index eec525e..fbe921a 100644
--- a/mom/Controllers/KSM.py
+++ b/mom/Controllers/KSM.py
@@ -50,4 +50,4 @@
             for (k, v) in self.cur.items():
                 args.append("%s:%s" % (k,v))
             self.logger.info(msg, ' '.join(args))
-        self.hypervisor_iface.ksmTune(outputs)
+            self.hypervisor_iface.ksmTune(outputs)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b082e35eae9d3a790da8c6e11e2c17fc70a056d
Gerrit-PatchSet: 1
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to