Enable NVME request merging on odin
authorTom Hughes <tom@compton.nu>
Wed, 3 Apr 2019 17:41:29 +0000 (18:41 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 3 Apr 2019 17:41:29 +0000 (18:41 +0100)
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"
+      }
+    }
   }
 )