1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
Effectively revert whole  76f6951c3e.
We need to figure out some other solution.

At this moment usage of --config  with 'repair' of blocked mirror
is 'freezing' combination.
This commit is contained in:
Zdenek Kabelac 2017-03-16 01:17:57 +01:00
parent 4a727a3ccd
commit 07ded8059c

View File

@ -186,8 +186,9 @@ int register_device(const char *device,
if (!dmeventd_lvm2_init_with_pool("mirror_state", state)) if (!dmeventd_lvm2_init_with_pool("mirror_state", state))
goto_bad; goto_bad;
/* CANNOT use --config as this disables cached content */
if (!dmeventd_lvm2_command(state->mem, state->cmd_lvconvert, sizeof(state->cmd_lvconvert), if (!dmeventd_lvm2_command(state->mem, state->cmd_lvconvert, sizeof(state->cmd_lvconvert),
"lvconvert --config global{use_lvmetad = 0}' --repair --use-policies", device)) "lvconvert --repair --use-policies", device))
goto_bad; goto_bad;
*user = state; *user = state;