From a91f8fdb4df24e1439381324a04bf595a8db0cbb 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 | 13 +++++++++++++ 1 file changed, 13 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..c587b14f 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,19 @@ 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 #