1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/commands
Zdenek Kabelac 794e94fe16 Replace PV_MIN_SIZE with function pv_min_size()
Add configurable option to define minimal size of
of block device usable as a PV.

pv_min_size() is added to lvm-globals and it's being
initialized through _process_config.

Macro PV_MIN_SIZE is unused and removed.

New define DEFAULT_PV_MIN_SIZE_KB is added to lvm-global
and unlike PV_MIN_SIZE it uses KB units.

Should help users with various slow devices attached to the system,
which cannot be easily filtered out (like FDD on /dev/sdX):
https://bugzilla.redhat.com/show_bug.cgi?id=644578
2011-02-18 14:11:22 +00:00
..
errors.h pre-release tidy up 2009-06-30 18:39:31 +00:00
toolcontext.c Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
toolcontext.h Fix scanning of VGs without in-PV mdas. 2010-12-10 22:39:52 +00:00