]> sourceware.org Git - lvm2.git/commit
filters: check for mpath before opening devs
authorAlasdair G Kergon <agk@redhat.com>
Tue, 13 Aug 2013 22:26:58 +0000 (23:26 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 13 Aug 2013 22:26:58 +0000 (23:26 +0100)
commit80bcdb93ffcd69e03923ceeac5afc018831d0cfc
tree3c0a1e4e8de9db6551d63a428bf6bae5511bc276
parent0da72743ca46ae9f8185cd12d5c78b3c2b801872
filters: check for mpath before opening devs

Split out the partitioned device filter that needs to open the device
and move the multipath filter in front of it.

When a device is multipathed, sending I/O to the underlying paths may
cause problems, the most obvious being I/O errors visible to lvm if a
path is down.

Revert the incorrect <backtrace> messages added when a device doesn't
pass a filter.

Log each filter initialisation to show sequence.

Avoid duplicate 'Using $device' debug messages.
21 files changed:
WHATS_NEW
include/.symlinks.in
lib/Makefile.in
lib/commands/toolcontext.c
lib/device/dev-cache.c
lib/filters/filter-composite.c
lib/filters/filter-composite.h [deleted file]
lib/filters/filter-md.c
lib/filters/filter-md.h [deleted file]
lib/filters/filter-mpath.c
lib/filters/filter-mpath.h [deleted file]
lib/filters/filter-partitioned.c [new file with mode: 0644]
lib/filters/filter-persistent.c
lib/filters/filter-persistent.h [deleted file]
lib/filters/filter-regex.c
lib/filters/filter-regex.h [deleted file]
lib/filters/filter-sysfs.c
lib/filters/filter-sysfs.h [deleted file]
lib/filters/filter-type.c [moved from lib/filters/filter.c with 72% similarity]
lib/filters/filter.h
tools/tools.h
This page took 0.037196 seconds and 5 git commands to generate.