diff --git a/VERSION b/VERSION index 994cf80d0..b9002a09d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.02.80(2)-cvs (2010-12-21) +2.02.80(2)-cvs (2011-01-10) diff --git a/VERSION_DM b/VERSION_DM index 5ced624c4..844497127 100644 --- a/VERSION_DM +++ b/VERSION_DM @@ -1 +1 @@ -1.02.61-cvs (2010-12-21) +1.02.61-cvs (2011-01-10) diff --git a/WHATS_NEW b/WHATS_NEW index c59f1de1e..14a1da25c 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,19 +1,20 @@ -Version 2.02.80 - -==================================== - Speedup consequent activation calls by using internal cookie. - Add internal lvm library cookie. - Speedup command processing by caching resolved config tree. +Version 2.02.80 - 10th January 2011 +=================================== + Use same dm cookie for consecutive dm ops in same VG to reduce udev waits. + Speed up command processing by caching resolved config tree. Pass config_tree to renamed function import_vg_from_config_tree(). Detect NULL handle in get_property(). Fix superfluous /usr in ocf_scriptdir instalation path. Add --with-ocfdir configurable option. Add aclocal.m4 (for pkgconfig). - Fix memory leak in filter creation error path. - Add missing tests in _setup_task(). - Fail poll daemon creation when lvmcache_init() fails. - Return defined value for errors in _copy_percent() and _snap_percent(). - Correct return code of cmirrord when issuing 'start' when already running. - Fix wrongly paired unlocking of global lock in pvchange. (2.02.66) + Fix memory leak in persistent filter creation error path. + Check for errors setting up dm_task struct in _setup_task(). + Fail polldaemon creation when lvmcache_init() fails. + Return PERCENT_INVALID for errors in _copy_percent() and _snap_percent(). + Remove some unused variables. + Improve general lvconvert man page description. + Return 0 from cmirrord initscript 'start' if daemon is already running. + Fix wrongly paired unlocking of VG_GLOBAL in pvchange. (2.02.66) Add backtraces for backup and backup_remove fail paths. Detect errors from dm_task_set calls in _get_device_info (dmeventd). Add backtraces for archive and backup_locally in check_current_backup(). diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 4afb8a6cf..4167af7a7 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,5 @@ -Version 1.02.61 - -==================================== +Version 1.02.61 - 10th January 2011 +=================================== Add DM_COOKIE_AUTO_CREATE to libdevmapper.h. Export DM_CONTROL_NODE_UMASK and use it while creating /dev/mapper/control. diff --git a/configure b/configure index 0f8131068..781755aeb 100755 --- a/configure +++ b/configure @@ -619,6 +619,7 @@ PTHREAD_LIBS POOL PKGCONFIG REPLICATORS +OCFDIR OCF MIRRORS LVM_RELEASE_DATE @@ -797,6 +798,7 @@ with_replicators enable_readline enable_realtime enable_ocf +with_ocfdir with_clvmd with_clvmd_pidfile enable_cmirrord @@ -1536,6 +1538,8 @@ Optional Packages: [[TYPE=internal]] --with-replicators=TYPE replicator support: internal/shared/none [[TYPE=none]] + --with-ocfdir=DIR install OCF files in DIR + [[PREFIX/lib/ocf/resource.d/lvm2]] --with-clvmd=TYPE build cluster LVM Daemon The following cluster manager combinations are valid: * cman,gulm (RHEL4 or equivalent) @@ -6908,6 +6912,14 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCF" >&5 $as_echo "$OCF" >&6; } +# Check whether --with-ocfdir was given. +if test "${with_ocfdir+set}" = set; then : + withval=$with_ocfdir; OCFDIR=$withval +else + OCFDIR='${prefix}/lib/ocf/resource.d/lvm2' +fi + + ################################################################################ pkg_config_init() { @@ -10282,6 +10294,7 @@ LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print $2}'` + ################################################################################