Only pass block events to multipath
authorHannes Reinecke <hare@suse.de>
Wed, 25 Feb 2009 15:09:15 +0000 (16:09 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 21 Apr 2009 23:55:19 +0000 (01:55 +0200)
We can easily preselect the events from a udev rule; this takes some
load off the multipath daemon itself.

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath/multipath.rules

index 9d3579f..ac97749 100644 (file)
@@ -4,4 +4,4 @@
 #
 
 # socket for uevents
-RUN+="socket:/org/kernel/dm/multipath_event"
+SUBSYSTEM=="block", RUN+="socket:/org/kernel/dm/multipath_event"