]> sourceware.org Git - lvm2.git/commitdiff
Revert "thin: when converting a thin pool data or metadata LV from"
authorAlasdair G Kergon <agk@redhat.com>
Mon, 1 Aug 2016 14:17:44 +0000 (15:17 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 1 Aug 2016 14:17:44 +0000 (15:17 +0100)
This reverts commit 237f84e0383c7e3003050be7c072ee0a092fd426.

This case failed:
    lvcreate --type raid1 -m1 -l2 vg99
    lvcreate -aey -l2 -s vg99/lvol0
    lvconvert -m2 vg99/lvol0

lib/metadata/raid_manip.c

index 6ac74504236ac638b400bbda85198149062eecd0..0364f2fe5969b815affe3de31c8100e9b04708aa 100644 (file)
@@ -862,7 +862,7 @@ to be left for these sub-lvs.
        dm_list_iterate_items(lvl, &data_lvs)
                lv_set_hidden(lvl->lv);
 
-       if (!lv_update_and_reload(lv))
+       if (!lv_update_and_reload_origin(lv))
                return_0;
 
        /*
This page took 0.048944 seconds and 5 git commands to generate.