From 4695215ed1c862ddd59e333e2d3a75df9de0c182 Mon Sep 17 00:00:00 2001 From: George Wilson Date: Mon, 29 Apr 2024 17:24:44 -0600 Subject: [PATCH] DLPX-90573 Support bundle collection leads to a prolonged CPU starvation on engines with a high number of containers --- .../roles/delphix-platform/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml index 0f3b59ba..e3ac12c3 100644 --- a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml +++ b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml @@ -533,6 +533,18 @@ regexp: 'disk\/by-id\/wwn-' replace: 'disk/by-id/wwn/' +# +# The default udev persistent storage rule will call 'blkid' on every device +# except sr devices. This can be very expensive when running on a system with +# lots of zvols and can result in udev event storms that can last hours. This +# will override the default rule and skip this call on zvols. +# +- lineinfile: + path: /etc/udev/rules.d/60-persistent-storage.rules + backrefs: yes + regexp: '(KERNEL!="sr\*)\"(.*)' + line: '\1|zd*"\2' + # # Enable CRA for external variants #