]> git.openstreetmap.org Git - chef.git/blobdiff - roles/karm.rb
Update chef client to 12.10.24
[chef.git] / roles / karm.rb
index 42b2e436a8cda31046bdb07e70a631aec58351b6..6d2f15e790f16e666ddf280fb89b7e9914266baf 100644 (file)
@@ -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"
+      }
+    }
   }
 )