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:
parent
384f2fc38b
commit
f9554c7d27
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user