master - vgchange: add sync point
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5b70bdc104991056a9e1c3f97c07b6f0ba3ae998 Commit: 5b70bdc104991056a9e1c3f97c07b6f0ba3ae998 Parent: 13c07c685ade35192348a6b60a6c19077976b089 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Sep 21 23:22:23 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Sep 24 10:54:47 2014 +0200
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.
--- tools/vgchange.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/vgchange.c +1 -0
@@ -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",