Matthew Ruffell has proposed merging ~mruffell/cloud-init:lp1842562 into 
cloud-init:master.

Commit message:
AWS: Add udev rule to set Instance Store device IO timeouts

AWS are wishing to implement per-device IO timeouts in their cloud, and they
require Instance Store devices to use a timeout of 30000ms. 

This commit adds a udev rule to enable that timeout for AWS Instance Store
devices only.

LP: #1842562

Requested reviews:
  cloud-init commiters (cloud-init-dev)
Related bugs:
  Bug #1842562 in cloud-init (Ubuntu): "AWS: Add udev rule to set Instance 
Store device IO timeouts"
  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1842562

For more details, see:
https://code.launchpad.net/~mruffell/cloud-init/+git/cloud-init/+merge/372232
-- 
Your team cloud-init commiters is requested to review the proposed merge of 
~mruffell/cloud-init:lp1842562 into cloud-init:master.
diff --git a/udev/66-aws-io-timeout.rules b/udev/66-aws-io-timeout.rules
new file mode 100644
index 0000000..3ad3d45
--- /dev/null
+++ b/udev/66-aws-io-timeout.rules
@@ -0,0 +1,2 @@
+# AWS Specific Rule - Set Instance Storage to have a 30s timeout
+KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon EC2 NVMe Instance Storage", ATTR{queue/io_timeout}="30000"
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to     : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to