1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/misc
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
..
configure.h.in Add configure option --with-device-nodes-on 2011-02-04 22:17:54 +00:00
crc_gen.c was renamed 2010-09-27 19:10:46 +00:00
crc.c Fix CRC32 calculation on big endian CPU 2011-02-08 12:41:08 +00:00
crc.h Speed up CRC32 calculations by using a larger lookup table. 2010-09-27 19:09:34 +00:00
intl.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
last-path-component.h cleaner const char* usage for last_path_component() 2008-11-12 09:53:33 +00:00
lib.h more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
lvm-exec.c Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
lvm-exec.h Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
lvm-file.c Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
lvm-file.h Make _init_rand() thread safe - use rand_r() instead of rand(). 2008-12-07 04:27:56 +00:00
lvm-globals.c Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
lvm-globals.h Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
lvm-percent.c Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lvm-percent.h Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lvm-string.c Remove tag length restriction and allow / = ! : # & characters. 2010-11-17 10:19:29 +00:00
lvm-string.h Remove tag length restriction and allow / = ! : # & characters. 2010-11-17 10:19:29 +00:00
lvm-version.h.in Add an API version number, LVM_LIBAPI, to the VERSION string. 2009-07-22 20:01:28 +00:00
lvm-wrappers.c Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
lvm-wrappers.h Provide alternative implementation of obsolete siginterrupt(). 2009-09-28 21:23:02 +00:00
sharedlib.c Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
sharedlib.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
timestamp.c Skip NULL check before dm_free 2011-01-28 10:16:04 +00:00
timestamp.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
util.c Fix the fsadm build failure without using -llvm. 2007-10-03 16:10:04 +00:00
util.h Macro uninitialized_var gives warnings in static analysis 2010-10-26 10:04:34 +00:00