mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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:
parent
c98a25aab1
commit
3217e0cfea
@ -5897,7 +5897,7 @@ static int _set_convenient_raid145610_segtype_to(const struct lv_segment *seg_fr
|
|||||||
return 0;
|
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)) {
|
} else if (segtype_is_any_raid6(*segtype)) {
|
||||||
if (seg_from->area_count < 4) {
|
if (seg_from->area_count < 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user