summaryrefslogtreecommitdiffstats
path: root/tools/lvcreate.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-02-15 15:18:43 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-02-15 15:18:43 +0000
commitd81498a824e66acca994807643e9df1e452fd61c (patch)
tree1783c57c308ad26276cd8188ebe2cddb7450121c /tools/lvcreate.c
parent386220ada26f29eb9b340b0a9ebe3b5a76a4e7e7 (diff)
downloadlvm2-d81498a824e66acca994807643e9df1e452fd61c.tar.gz
lvm2-d81498a824e66acca994807643e9df1e452fd61c.tar.xz
lvm2-d81498a824e66acca994807643e9df1e452fd61c.zip
Initialize dmeventd monitoring for every command
Read lvm.conf setting for monitoring for each command. So we should not activate monitoring if the default compilation is set to monitor during lvconvert commnads. Patch also removes check for clustered VG and allows to disable monitoring for clustered VG with the assumption, the problem with monitoring and dmeventd flag passing for INGNORE is already fixed.
Diffstat (limited to 'tools/lvcreate.c')
-rw-r--r--tools/lvcreate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/lvcreate.c b/tools/lvcreate.c
index c7a347f9..7d3a5b0f 100644
--- a/tools/lvcreate.c
+++ b/tools/lvcreate.c
@@ -726,10 +726,6 @@ static int _lvcreate_params(struct lvcreate_params *lp,
return 0;
}
- if (!get_activation_monitoring_mode(cmd, NULL,
- &lp->activation_monitoring))
- return_0;
-
if (!_lvcreate_name_params(lp, cmd, &argc, &argv) ||
!_read_size_params(lp, lcp, cmd) ||
!get_stripe_params(cmd, &lp->stripes, &lp->stripe_size) ||