]> git.openstreetmap.org Git - chef.git/blobdiff - roles/odin.rb
Enable NVME request merging on odin
[chef.git] / roles / odin.rb
index e31bc6923f408babd19303045e1a298ed3d69704..9de9c9341a7af89b42f4c25c53af6d1a9eba57b9 100644 (file)
@@ -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"
+      }
+    }
   }
 )