diff options
author | NeilBrown <neilb@suse.de> | 2009-10-29 10:02:24 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-10-29 10:02:24 +1100 |
commit | dab54dcb049952be8fa7b1058a4557671c73be02 (patch) | |
tree | f2fda537af46090b580b8a634b16c4d390a4b064 /Detail.c | |
parent | 7f0066ba713a8f3ddf093c038e009fde74d673a5 (diff) | |
download | mdadm-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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, |