]> 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)
commit794e94fe163a9f1ce0974a4a76e96927222f909c
treee7129650cc2efab5e27fa0e65924c2bd59ea4bbb
parent9dd091e4f4cfa577bf6ee69089a7dfaea1cd2dc4
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.032057 seconds and 5 git commands to generate.