From 2367b843d9d291e0353fe276f7c9297ac6b0e69a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 15 Mar 2015 17:40:54 +0300 Subject: [PATCH] roles/common: Remove I/O scheduler logic from rc.local It's better to set this using udev rules anyways Signed-off-by: Alan Orth --- roles/common/templates/rc.local_Ubuntu.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/common/templates/rc.local_Ubuntu.j2 b/roles/common/templates/rc.local_Ubuntu.j2 index 886c61c..65634df 100644 --- a/roles/common/templates/rc.local_Ubuntu.j2 +++ b/roles/common/templates/rc.local_Ubuntu.j2 @@ -11,9 +11,4 @@ # # By default this script does nothing. -# VMs should use deadline IO sched -{% for device in ansible_devices %} -echo deadline > /sys/block/{{ device }}/queue/scheduler -{% endfor %} - exit 0