summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2009-02-25 16:09:15 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2009-04-22 01:55:19 +0200
commit1a7a10e823594a9ac228a01c0baa5f83a9175908 (patch)
treeb146ea647533cdc3c837f6fbe44b6d0980dd66f2
parent3a2c16139d6c884a5bc1afc8ec71f3412f7f7c95 (diff)
downloadmultipath-tools-1a7a10e823594a9ac228a01c0baa5f83a9175908.tar.gz
multipath-tools-1a7a10e823594a9ac228a01c0baa5f83a9175908.tar.bz2
multipath-tools-1a7a10e823594a9ac228a01c0baa5f83a9175908.zip
Only pass block events to multipath
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>
-rw-r--r--multipath/multipath.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/multipath/multipath.rules b/multipath/multipath.rules
index 9d3579f..ac97749 100644
--- a/multipath/multipath.rules
+++ b/multipath/multipath.rules
@@ -4,4 +4,4 @@
#
# socket for uevents
-RUN+="socket:/org/kernel/dm/multipath_event"
+SUBSYSTEM=="block", RUN+="socket:/org/kernel/dm/multipath_event"