]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Make --examine report chunk size when it should
authorNeil Brown <neilb@suse.de>
Mon, 9 Oct 2006 01:16:56 +0000 (11:16 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 9 Oct 2006 01:16:56 +0000 (11:16 +1000)
Currently it doesn't for raid6 and raid10

super0.c

index a95490f9df6edb8a8eeb1b4a3bd48dbafc1962c0..9e83193bddbadc20ecf0bb59edb24b7233eb8d72 100644 (file)
--- a/super0.c
+++ b/super0.c
@@ -191,6 +191,8 @@ static void examine_super0(void *sbv, char *homehost)
        case 0:
        case 4:
        case 5:
+       case 6:
+       case 10:
                printf("     Chunk Size : %dK\n", sb->chunk_size/1024);
                break;
        case -1: