From: NeilBrown Date: Wed, 28 Oct 2009 23:02:24 +0000 (+1100) Subject: Detail: report new-layout for RAID6 arrays X-Git-Tag: mdadm-3.1.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab54dcb049952be8fa7b1058a4557671c73be02;p=thirdparty%2Fmdadm.git Detail: report new-layout for RAID6 arrays We were only reporting it for RAID5 and RAID10. Signed-off-by: NeilBrown --- diff --git a/Detail.c b/Detail.c index e2cf028a..0e47a05a 100644 --- a/Detail.c +++ b/Detail.c @@ -382,6 +382,11 @@ This is pretty boring printf(" New Layout : %s\n", c?c:"-unknown-"); } + if (info.new_level == 6) { + char *c = map_num(r6layout, info.new_layout); + printf(" New Layout : %s\n", + c?c:"-unknown-"); + } if (info.new_level == 10) { printf(" New Layout : near=%d, %s=%d\n", info.new_layout&255,