Noam Slomianko has uploaded a new change for review. Change subject: Add dependency to tuned package Change tuned profile to virtual-host ......................................................................
Add dependency to tuned package Change tuned profile to virtual-host Change-Id: I5c87098ddced38a3e24405325a9c011de3a86e0e Signed-off-by: Noam Slomianko <[email protected]> --- M vdsm.spec.in M vdsm/vdsmd.init.in 2 files changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/8930/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index 37f37a3..87109f5 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -120,6 +120,8 @@ Requires(post): /usr/sbin/saslpasswd2 Requires(post): /bin/hostname +Requires: tuned + %description The VDSM service is required by a Virtualization Manager to manage the Linux hosts. VDSM manages and monitors the host's storage, memory and diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in index 5b38d55..e8dcfa7 100755 --- a/vdsm/vdsmd.init.in +++ b/vdsm/vdsmd.init.in @@ -43,6 +43,8 @@ LDCONF=/etc/sysconfig/libvirtd QLCONF=/etc/libvirt/qemu-sanlock.conf +TUNED_PROFILE=virtual-host + is_coredump=`$GETCONFITEM $CONF_FILE vars core_dump_enable false | tr A-Z a-z` [ $is_coredump != true ] && is_coredump=false @@ -401,6 +403,9 @@ ;; esac configure_libvirt $args + + #Switch to optimised profile + tuned-adm profile $TUNED_PROFILE } stop_libvirtd_sysv() { -- To view, visit http://gerrit.ovirt.org/8930 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5c87098ddced38a3e24405325a9c011de3a86e0e Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Noam Slomianko <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
