1
0
Fork 0

daemon: added log info message notifying that static tuning has been applied

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 <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2015-06-04 14:35:51 +02:00
parent 7349dbfa5c
commit df1183bf03

View file

@ -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)