[PATCH 2/5] imsm: fix: disable migration from raid5->raid0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it is not supported yet, so start such transition is improper.

Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx>
---
 super-intel.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/super-intel.c b/super-intel.c
index 9bf4714..c02c5c8 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -7247,10 +7247,6 @@ enum imsm_reshape_type imsm_analyze_change(struct supertype *st,
 				check_devs = 1;
 			}
 			break;
-		case 5:
-			if (geo->level == 0)
-				change = CH_MIGRATION;
-			break;
 		case 10:
 			if (geo->level == 0) {
 				change = CH_TAKEOVER;

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux