projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece798d
)
Improve disk tuning on HP systems
author
Grant Slater
<git@firefishy.com>
Mon, 17 Feb 2014 06:18:22 +0000
(06:18 +0000)
committer
Grant Slater
<git@firefishy.com>
Mon, 17 Feb 2014 06:18:22 +0000
(06:18 +0000)
cookbooks/devices/templates/default/udev.rules.erb
patch
|
blob
|
history
diff --git
a/cookbooks/devices/templates/default/udev.rules.erb
b/cookbooks/devices/templates/default/udev.rules.erb
index 27951c4fface6f9e199f277e097c6223ce9b2dbb..8f40e5b7dc784df0f93c804ee051fddcfe4a3eb1 100644
(file)
--- a/
cookbooks/devices/templates/default/udev.rules.erb
+++ b/
cookbooks/devices/templates/default/udev.rules.erb
@@
-3,6
+3,7
@@
# HP Smart Array configuration
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"
<% node[:devices].each do |name,device| -%>
# <%= device[:comment] %>