Skip to contentSkip to conversation

master - Revert "thin: when converting a thin pool data or metadata LV from"

PATCH Alasdair Kergon 1 participant 1 message Aug 1, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c490be9134a3c571636ab67d99ffeeac27d9b56f
Commit:        c490be9134a3c571636ab67d99ffeeac27d9b56f
Parent:        d0df1ff995f3270232ec5179057482c558119a92
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Mon Aug 1 15:17:44 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Mon Aug 1 15:17:44 2016 +0100

Revert "thin: when converting a thin pool data or metadata LV from"

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/raid_manip.c +1 -1
index 6ac7450..0364f2f 100644
@@ -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;
 
 	/*