1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/filters
Zdenek Kabelac 81a9da8f61 filters: swap device_is_usable test
Fix regression introduced with commit:
2fc126b00d

This commit has moved  pv_min_size() test in front
of device_is_usable(). However pv_min_size needs to open device,
so it may have actually get blocked.

So restore the original order and first validate
dm device to be usable for open.

It's worth to note that such check is not 'race-free',
but it usually eliminates 99.99% of problems ;).
2015-09-03 23:34:36 +02:00
..
filter-composite.c conf: add devices/external_device_info_source to lvm.conf 2015-01-30 13:01:12 +01:00
filter-fwraid.c filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used 2015-09-03 14:19:48 +02:00
filter-md.c filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used 2015-09-03 14:19:48 +02:00
filter-mpath.c filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used 2015-09-03 14:19:48 +02:00
filter-partitioned.c filters: do not print [none:nil] as external device info's [source:handler] if "none" source is used 2015-09-03 14:19:48 +02:00
filter-persistent.c config: use timestamp with nanosecond precision 2015-03-18 13:42:56 +01:00
filter-regex.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
filter-sysfs.c filters: drop extra slash from sysfs path 2013-11-22 20:53:31 +01:00
filter-type.c filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00
filter-usable.c filters: swap device_is_usable test 2015-09-03 23:34:36 +02:00
filter.h filters: add firmware RAID filter 2015-01-30 13:17:12 +01:00