1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-01 18:50:41 +03:00

vgchange: add sync point

Before leaving _activate_lvs_in_vg() wait till devices
are active - so we do not print message about active
devices earlier then it really happens for a user.
This commit is contained in:
Zdenek Kabelac 2014-09-21 23:22:23 +02:00
parent 13c07c685a
commit 5b70bdc104

View File

@ -152,6 +152,7 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, struct volume_group *vg,
}
sigint_restore();
sync_local_dev_names(vg->cmd); /* Wait until devices are available */
if (expected_count)
log_verbose("%s %d logical volumes in volume group %s",