Create metadata update for raid0 -> raid10 takeover. Because we have no mdmon running for raid0 we have to update metadata using local update mechanism Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@xxxxxxxxx> --- super-intel.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/super-intel.c b/super-intel.c index 86b365d..3ba9962 100644 --- a/super-intel.c +++ b/super-intel.c @@ -6774,6 +6774,10 @@ int imsm_takeover(struct supertype *st, struct geo_params *geo) if (geo->level == 0) u->direction = R10_TO_R0; + /* 0->10 transition */ + if (geo->level == 10) + u->direction = R0_TO_R10; + /* update metadata locally */ imsm_update_metadata_locally(st, u, sizeof(struct imsm_update_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