From 0c2fd133d7b690889ed4153853151db5b38eb060 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Thu, 20 Apr 2017 21:35:06 +0200 Subject: [PATCH] raid: remove double minimum area check on takeover --- lib/metadata/raid_manip.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c index 77ca00666..03e32c6a7 100644 --- a/lib/metadata/raid_manip.c +++ b/lib/metadata/raid_manip.c @@ -5061,12 +5061,6 @@ static int _takeover_upconvert_wrapper(TAKEOVER_FN_ARGS) } } - if (seg_is_any_raid5(seg) && segtype_is_any_raid6(new_segtype) && seg->area_count < 4) { - log_error("Minimum of 3 stripes needed for conversion from %s to %s.", - lvseg_name(seg), new_segtype->name); - return 0; - } - if (seg_is_raid1(seg)) { if (seg->area_count != 2) { log_error("Can't convert %s LV %s to %s with != 2 legs.", -- 2.43.5