]> sourceware.org Git - lvm2.git/commit
Replace PV_MIN_SIZE with function pv_min_size()
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Feb 2011 14:11:22 +0000 (14:11 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Feb 2011 14:11:22 +0000 (14:11 +0000)
commit02c2036731242e73086dfe936805cca36931e8a1
treee7129650cc2efab5e27fa0e65924c2bd59ea4bbb
parent42ebbfa703c5f8e1396ae9444b7cc7c7aa775fbc
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
WHATS_NEW
doc/example.conf.in
lib/commands/toolcontext.c
lib/filters/filter.c
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
lib/metadata/metadata.h
lib/misc/lvm-globals.c
lib/misc/lvm-globals.h
test/t-pv-min-size.sh [new file with mode: 0644]
tools/pvresize.c
This page took 0.032952 seconds and 5 git commands to generate.