diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-09-23 12:49:01 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-09-30 13:11:58 +0200 |
commit | 8a843d0d97c66aae1872c05b0f6cf4bda176aae2 (patch) | |
tree | 863b6a928c5d8ee0dee2d92031adbbf66e0d50dd /lib/Makefile.in | |
parent | 00d8ab84923af87191110b1cb77b13a483659ef1 (diff) | |
download | lvm2-8a843d0d97c66aae1872c05b0f6cf4bda176aae2.tar.gz |
filters: add "usable device" filter
Usable device filter is responsible for filtering out unusable DM devices.
The filter has 3 modes of operation:
- FILTER_MODE_NO_LVMETAD:
When this mode is used, we check DM device usability by looking:
- whether device is empty
- whether device is blocked
- whether device is suspended (only on devices/ignore_suspended_devices=1)
- whether device uses an error target
- whether device name/uuid is reserved
- FILTER_MODE_PRE_LVMETAD:
When this mode is used, we check DM device usability by looking:
- whether device is empty
- whether device is suspended (only on devices/ignore_suspended_devices=1)
- whether device uses an error target
- whether device name/uuid is reserved
- FILTER_MODE_POST_LVMETAD:
When this mode is used, we check DM device usability by looking:
- whether device is blocked
- whether device is suspended (only on devices/ignore_suspended_devices=1)
These modes will be used by subsequent patch to create different
instances of this filter, depending on lvmetad use.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r-- | lib/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index 9f101f311..bad5d8cd3 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -72,6 +72,7 @@ SOURCES =\ filters/filter-mpath.c \ filters/filter-partitioned.c \ filters/filter-type.c \ + filters/filter-usable.c \ format_text/archive.c \ format_text/archiver.c \ format_text/export.c \ |