Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: tune: iosched: modify udev trigger to change event
......................................................................

packaging: tune: iosched: modify udev trigger to change event

rhel initscripts does not distinguish where udev even comes from, so
triggering hotplug even in all cases.

change udev trigger to issue change event, as current initscripts
ignores this event.

current targeted udev rules handle change events so uneffected.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1005278
Change-Id: I626c30eb1f281cf14a753f657c9313144df1b0db
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M src/plugins/ovirt-host-deploy/tune/iosched.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/06/19206/1

diff --git a/src/plugins/ovirt-host-deploy/tune/iosched.py 
b/src/plugins/ovirt-host-deploy/tune/iosched.py
index 685f9c7..d7ed591 100644
--- a/src/plugins/ovirt-host-deploy/tune/iosched.py
+++ b/src/plugins/ovirt-host-deploy/tune/iosched.py
@@ -87,7 +87,8 @@
             [
                 self.command.get('udevadm'),
                 'trigger',
-                '--type=devices'
+                '--type=devices',
+                '--action=change',
             ],
             raiseOnError=False,
         )


-- 
To view, visit http://gerrit.ovirt.org/19206
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I626c30eb1f281cf14a753f657c9313144df1b0db
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to