1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-31 14:50:37 +03:00

Revert having clvmd consult the lvm.conf "activation/monitoring".

Correctly implementing the intent of this change requires more
analysis.
This commit is contained in:
Mike Snitzer 2010-03-24 22:25:11 +00:00
parent 384f2fc38b
commit f9554c7d27
2 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,6 @@
Version 2.02.63 -
================================
Add "monitoring" option to "activation" section of lvm.conf.
Have clvmd consult the lvm.conf "activation/monitoring".
Add --monitor and --ignoremonitoring support to lvcreate.
Allow dynamic extension of array of areas selected as allocation candidates.
Export and use only valid cookie value in test suite.

View File

@ -542,12 +542,8 @@ int do_lock_lv(unsigned char command, unsigned char lock_flags, char *resource)
if (lock_flags & LCK_MIRROR_NOSYNC_MODE)
init_mirror_in_sync(0);
if (!(lock_flags & LCK_DMEVENTD_MONITOR_MODE)) {
int dmeventd_mode =
find_config_tree_bool(cmd, "activation/monitoring",
DEFAULT_DMEVENTD_MONITOR);
init_dmeventd_monitor(dmeventd_mode);
}
if (!(lock_flags & LCK_DMEVENTD_MONITOR_MODE))
init_dmeventd_monitor(DEFAULT_DMEVENTD_MONITOR);
cmd->partial_activation = 0;