From 79b410004661209ade34d5a4eb4a8681295f73da Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 6 Jul 2018 12:17:35 +0100 Subject: [PATCH] Set IO rq_affinity for HP RAID disks --- cookbooks/devices/templates/default/udev.rules.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/devices/templates/default/udev.rules.erb b/cookbooks/devices/templates/default/udev.rules.erb index d6f30d69b..a9f7f3fdf 100644 --- a/cookbooks/devices/templates/default/udev.rules.erb +++ b/cookbooks/devices/templates/default/udev.rules.erb @@ -4,6 +4,7 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/scheduler}="noop" ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/nr_requests}="512" ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/read_ahead_kb}="4096" +ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/rq_affinity}="2" <% node[:devices].each do |name,device| -%> # <%= device[:comment] %> -- 2.39.5