diff --git a/70-ec2-nvme-devices.rules b/70-ec2-nvme-devices.rules index 4023d15..3df1ecd 100644 --- a/70-ec2-nvme-devices.rules +++ b/70-ec2-nvme-devices.rules @@ -14,5 +14,9 @@ KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{serial}=="? # ebs nvme devices KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c" KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c%n" + +# Do not timeout I/O operations on EBS volumes. +KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", ATTR{queue/io_timeout}="4294967295" + # instance store nvme devices KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon EC2 NVMe Instance Storage", ATTR{queue/io_timeout}="90000" diff --git a/amazon-ec2-utils.spec b/amazon-ec2-utils.spec index 521fbf2..8f9f664 100644 --- a/amazon-ec2-utils.spec +++ b/amazon-ec2-utils.spec @@ -1,7 +1,7 @@ Name: amazon-ec2-utils Summary: A set of tools for running in EC2 Version: 1.3 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT Group: System Tools @@ -88,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/udev/rules.d/70-ec2-nvme-devices.rules %changelog +* Thu Jul 14 2021 Sai Harsha 1.3.3 +- Disable timeout on EBS volumes + * Thu Oct 29 2020 Frederick Lefebvre 1.3-2 - Add testing of python syntax to spec file