From 3c20f9899bc95b35f5b9544c6741b4fccd616326 Mon Sep 17 00:00:00 2001 From: Adam Kwolek Date: Thu, 12 Jan 2012 08:12:47 +0100 Subject: [PATCH] FIX: mdmon check in reshape_container() can cause a problem When raid0 reshape is executed mdmon can dissappear due to raid level takeover operation. If this happen before mdmon check, mdadm would treat it as error condition. It is not true for this case. Remove mdmon check from reshape_container() function. Error condition check will remain using reshape_array() reentry test for the same array (line 2577). Signed-off-by: Adam Kwolek Signed-off-by: NeilBrown --- Grow.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/Grow.c b/Grow.c index 89f563c..c1bc1ca 100644 --- a/Grow.c +++ b/Grow.c @@ -2608,12 +2608,6 @@ int reshape_container(char *container, char *devname, restart = 0; if (rv) break; - rv = !mdmon_running(devname2devnum(container)); - if (rv) { - printf(Name ": Mdmon is not found. " - "Cannot continue container reshape.\n"); - break; - } } if (!rv) unfreeze(st); -- 1.7.4.4