projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c9e8f
)
Enable NVME request merging on odin
author
Tom Hughes
<tom@compton.nu>
Wed, 3 Apr 2019 17:41:29 +0000
(18:41 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 3 Apr 2019 17:41:29 +0000
(18:41 +0100)
roles/odin.rb
patch
|
blob
|
history
diff --git
a/roles/odin.rb
b/roles/odin.rb
index e31bc6923f408babd19303045e1a298ed3d69704..9de9c9341a7af89b42f4c25c53af6d1a9eba57b9 100644
(file)
--- a/
roles/odin.rb
+++ b/
roles/odin.rb
@@
-26,6
+26,15
@@
default_attributes(
:address => "2001:978:2:2C::172:F"
}
}
+ },
+ :sysfs => {
+ :md_tune => {
+ :comment => "Enable request merging for NVMe devices",
+ :parameters => {
+ "block/nvme0n1/queue/nomerges" => "1",
+ "block/nvme1n1/queue/nomerges" => "1"
+ }
+ }
}
)