Skip to contentSkip to conversation

master - thin: when converting a thin pool data or metadata LV from linear to raid1, the linear wasnt't switched to the raid1 mapping, thus creating the false impression of resilience.

PATCH Heinz Mauelshagen 1 participant 1 message Jul 29, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=237f84e0383c7e3003050be7c072ee0a092fd426
Commit:        237f84e0383c7e3003050be7c072ee0a092fd426
Parent:        6b6e258e0ce1c0ab58fc5a465d2617505bc7c814
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Fri Jul 29 19:17:12 2016 +0200
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Fri Jul 29 19:17:12 2016 +0200

thin: when converting a thin pool data or metadata LV from linear to raid1, the linear wasnt't switched to the raid1 mapping, thus creating the false impression of resilience.

---
 lib/metadata/raid_manip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/raid_manip.c +1 -1
index 0364f2f..6ac7450 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_origin(lv))
+	if (!lv_update_and_reload(lv))
 		return_0;
 
 	/*