The following commit: Fix is_resync_complete for RAID10 commit 71d68ff62f945254240575cd836f5f2a09ced5d2 requires that mdmon knows the layout. So make manage_new() read the layout form sysfs. Signed-off-by: Lukasz Dorau <lukasz.dorau@xxxxxxxxx> --- managemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/managemon.c b/managemon.c index 6cd93e5..7033c19 100644 --- a/managemon.c +++ b/managemon.c @@ -650,8 +650,8 @@ static void manage_new(struct mdstat_ent *mdstat, return; mdi = sysfs_read(-1, mdstat->devnm, - GET_LEVEL|GET_CHUNK|GET_DISKS|GET_COMPONENT| - GET_DEGRADED|GET_SAFEMODE| + GET_LEVEL|GET_LAYOUT|GET_CHUNK|GET_DISKS| + GET_COMPONENT|GET_DEGRADED|GET_SAFEMODE| GET_DEVS|GET_OFFSET|GET_SIZE|GET_STATE); if (!mdi) -- 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