]> sourceware.org Git - lvm2.git/commitdiff
dmeventd: mirror plugin update
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Oct 2015 15:09:43 +0000 (17:09 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 22 Oct 2015 20:28:37 +0000 (22:28 +0200)
Don't use  --config  - this requires reload of lvm.conf

daemons/dmeventd/plugins/mirror/dmeventd_mirror.c

index 62ad331d93c89554022290e8bd142999443f1dc8..e20b249514018c57a81bf351926d4e4da04f2567 100644 (file)
@@ -220,8 +220,7 @@ int register_device(const char *device,
        }
 
        if (!dmeventd_lvm2_command(state->mem, state->cmd_lvconvert, sizeof(state->cmd_lvconvert),
-                                  "lvconvert --config devices{ignore_suspended_devices=1} "
-                                  "--repair --use-policies", device)) {
+                                  "lvconvert --repair --use-policies", device)) {
                dmeventd_lvm2_exit_with_pool(state);
                goto_bad;
        }
This page took 0.040632 seconds and 5 git commands to generate.