mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-19 14:04:17 +03:00
2fc126b00d
The filter-partitioned code should contain only checks in "partition" domain. The check for pv_min_size should actually be a part of filter-usable. If the device size is less than pv_min_size, such device is not usable as a PV so this check clearly belongs here logically. With udev external info source, we can get device size via libudev's sysfs reading interface and we can avoid opening the device this way effectively.