From df1183bf033528205ace3fa5e8e9f325746ee46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 4 Jun 2015 14:35:51 +0200 Subject: [PATCH] daemon: added log info message notifying that static tuning has been applied MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is for simple synchronization. When the message is logged it is guranteed that everything was applied and is set in place. Signed-off-by: Jaroslav Škarvada --- tuned/daemon/daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tuned/daemon/daemon.py b/tuned/daemon/daemon.py index 98a7988..29869a3 100644 --- a/tuned/daemon/daemon.py +++ b/tuned/daemon/daemon.py @@ -92,6 +92,7 @@ class Daemon(object): self._save_active_profile(self._profile.name) self._unit_manager.start_tuning() self._profile_applied.set() + log.info("static tuning from profile '%s' applied" % self._profile.name) # In python 2 interpreter with applied patch for rhbz#917709 we need to periodically # poll, otherwise the python will not have chance to update events / locks (due to GIL)