1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +03:00

lvconvert: choose direct path to desired raid level

Remove superfluous raid5_n interim LV type from raid4 -> raid10 conversion.

Resolves: rhbz1458006
This commit is contained in:
Heinz Mauelshagen 2017-06-02 14:30:57 +02:00
parent c98a25aab1
commit 3217e0cfea

View File

@ -5897,7 +5897,7 @@ static int _set_convenient_raid145610_segtype_to(const struct lv_segment *seg_fr
return 0;
}
seg_flag = seg_is_raid5_n(seg_from) ? SEG_RAID0_META : SEG_RAID5_N;
seg_flag = SEG_RAID0_META;
} else if (segtype_is_any_raid6(*segtype)) {
if (seg_from->area_count < 4) {