summaryrefslogtreecommitdiffstats
path: root/Detail.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-10-29 10:02:24 +1100
committerNeilBrown <neilb@suse.de>2009-10-29 10:02:24 +1100
commitdab54dcb049952be8fa7b1058a4557671c73be02 (patch)
treef2fda537af46090b580b8a634b16c4d390a4b064 /Detail.c
parent7f0066ba713a8f3ddf093c038e009fde74d673a5 (diff)
downloadmdadm-dab54dcb049952be8fa7b1058a4557671c73be02.tar.gz
mdadm-dab54dcb049952be8fa7b1058a4557671c73be02.tar.xz
mdadm-dab54dcb049952be8fa7b1058a4557671c73be02.zip
Detail: report new-layout for RAID6 arrays
We were only reporting it for RAID5 and RAID10. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Detail.c')
-rw-r--r--Detail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Detail.c b/Detail.c
index e2cf028..0e47a05 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,