Blame SOURCES/nvmf-autoconnect-add-udev-rules-to-set-iopolicy-netapp-patch

b220d3
commit 6eafcf96f315d6ae7be5fa8332131c4cc487d5df
b220d3
Author: Simon Schricker <sschricker@suse.de>
b220d3
Date:   Tue Dec 17 10:49:35 2019 +0100
b220d3
b220d3
    nvmf-autoconnect: add udev rules to set iopolicy for certain NetApp devices
b220d3
b220d3
diff --git a/nvmf-autoconnect/udev-rules/71-nvmf-iopolicy-netapp.rules b/nvmf-autoconnect/udev-rules/71-nvmf-iopolicy-netapp.rules
b220d3
new file mode 100644
b220d3
index 0000000..aefd9d4
b220d3
--- /dev/null
b220d3
+++ b/nvmf-autoconnect/udev-rules/71-nvmf-iopolicy-netapp.rules
b220d3
@@ -0,0 +1,3 @@
b220d3
+# Enable round-robin for NetApp ONTAP and NetApp E-Series
b220d3
+ACTION=="add", SUBSYSTEM=="nvme-subsystem", ATTR{model}=="NetApp ONTAP Controller", ATTR{iopolicy}="round-robin"
b220d3
+ACTION=="add", SUBSYSTEM=="nvme-subsystem", ATTR{model}=="NetApp E-Series", ATTR{iopolicy}="round-robin"