]> sourceware.org Git - lvm2.git/commitdiff
After suspend/resume following a splitmirror op, call sync_local_dev_names
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 16 Sep 2011 16:41:37 +0000 (16:41 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 16 Sep 2011 16:41:37 +0000 (16:41 +0000)
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.

lib/metadata/mirror.c

index e4d265a87063013f0f6bbe80ab4be8f71e284d6a..cd182fea63c342760723cd13f202c2af38409c5f 100644 (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) {
This page took 0.036123 seconds and 5 git commands to generate.