X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9b081c84fe8f9c69d2266673918aab7ad580339e..f8dbb973859a4686501746d22cf8a0617352b5e3:/roles/karm.rb diff --git a/roles/karm.rb b/roles/karm.rb index 42b2e436a..6d2f15e79 100644 --- a/roles/karm.rb +++ b/roles/karm.rb @@ -12,6 +12,19 @@ default_attributes( :hwaddress => "0c:c4:7a:a3:aa:ac" } } + }, + :sysfs => { + :md_tune => { + :comment => "Enable request merging for NVMe devices", + :parameters => { + "block/nvme0n1/queue/nomerges" => "1", + "block/nvme1n1/queue/nomerges" => "1", + "block/nvme2n1/queue/nomerges" => "1", + "block/nvme3n1/queue/nomerges" => "1", + "block/nvme4n1/queue/nomerges" => "1", + "block/nvme5n1/queue/nomerges" => "1" + } + } } )