File multipath-tools-only-pass-block-events-to-multipath of Package multipath-tools

From e1de7b692145b986b79e7f7739766e1494516c87 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 25 Feb 2009 16:09:15 +0100
Subject: [PATCH] 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>
---
 multipath/multipath.rules |    2 +-
 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"
-- 
1.6.0.2

openSUSE Build Service is sponsored by