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:
parent
13c07c685a
commit
5b70bdc104
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user