mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
raid: Revert _lv_extend_layered_lv non-raid0 area_multiple.
This commit is contained in:
parent
adeb624c3b
commit
7fffcce924
@ -3805,7 +3805,8 @@ static int _lv_extend_layered_lv(struct alloc_handle *ah,
|
|||||||
if (seg_is_raid(seg)) {
|
if (seg_is_raid(seg)) {
|
||||||
stripes = 1;
|
stripes = 1;
|
||||||
stripe_size = 0;
|
stripe_size = 0;
|
||||||
area_multiple = _calc_area_multiple(seg->segtype, seg->area_count, stripes);
|
if (seg_is_raid0(seg))
|
||||||
|
area_multiple = seg->area_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (fa = first_area, s = 0; s < seg->area_count; s++) {
|
for (fa = first_area, s = 0; s < seg->area_count; s++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user