1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-23 02:05:07 +03:00

After suspend/resume following a splitmirror op, call sync_local_dev_names

to settle udev before calling deactivate_lv.

This is an intra-release regression (no WHATS_NEW entry required).  It is
part of the fix for the current WHATS_NEW entry:
  Work around resume_lv causing error LV scanning during splitmirror operation.
This commit is contained in:
Jonathan Earl Brassow 2011-09-16 16:41:37 +00:00
parent 747060fe19
commit 5c11544dc1

View File

@ -747,6 +747,7 @@ there be something wrong in resume_lv?
* - commit VG changes
* - activate the new LV
*/
sync_local_dev_names(lv->vg->cmd);
new_lv = NULL;
dm_list_iterate_items(lvl, &split_images) {
if (!new_lv) {