summaryrefslogtreecommitdiffstats
path: root/lib/Makefile.in
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2011-11-11 15:11:08 +0000
committerMilan Broz <mbroz@redhat.com>2011-11-11 15:11:08 +0000
commit07113beea3c9ef6405fb66b4ae710553f59a45ca (patch)
tree7851b1461bb2e55c88662705ee85fb830d02dd76 /lib/Makefile.in
parent7891cead1174829900b1779d4dfaa6423883fb97 (diff)
downloadlvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.tar.gz
lvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.tar.xz
lvm2-07113beea3c9ef6405fb66b4ae710553f59a45ca.zip
Do not scan device if it is part of active multipath.
Add filter which tries to check if scanned device is part of active multipath. Firstly, only SCSI major number devices are handled in filter. Then it checks if device has exactly one holder (in sysfs) and if it is device-mapper device and DM-UUID is prefixed by "MPATH-". If so, this device is filtered out. The whole filter can be switched off by setting mpath_component_detection in lvm.conf. https://bugzilla.redhat.com/show_bug.cgi?id=597010 Signed-off-by: Milan Broz <mbroz@redhat.com>
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index a46e5960..4e9afd9d 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -65,6 +65,7 @@ SOURCES =\
filters/filter-regex.c \
filters/filter-sysfs.c \
filters/filter-md.c \
+ filters/filter-mpath.c \
filters/filter.c \
format_text/archive.c \
format_text/archiver.c \