mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
Remove test for first_time with FIXME
Workaround for the current code with big FIXME, since proper solution for pvmove needs to be developed. Commiting this only for the purpose to get cluster testing covered.
This commit is contained in:
parent
2c80ace622
commit
fcbb8e5c5d
@ -369,8 +369,9 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
|
||||
}
|
||||
|
||||
if (!_suspend_lvs(cmd, first_time, lv_mirr, lvs_changed, vg)) {
|
||||
log_error("ABORTING: Volume group metadata update failed.");
|
||||
if (!first_time && !revert_lv(cmd, lv_mirr))
|
||||
log_error("ABORTING: Volume group metadata update failed. (first_time: %d)", first_time);
|
||||
//FIXME: - currently this check breaks pvmove testing
|
||||
if (/*!first_time &&*/ !revert_lv(cmd, lv_mirr))
|
||||
stack;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user