Detail: report new-layout for RAID6 arrays

We were only reporting it for RAID5 and RAID10.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2009-10-29 10:02:24 +11:00
parent 7f0066ba71
commit dab54dcb04
1 changed files with 5 additions and 0 deletions

View File

@ -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,