]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Increase minimum chunk size in testsuite to 64kB
authorAnton Blanchard <anton@samba.org>
Thu, 24 May 2012 05:10:47 +0000 (15:10 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 24 May 2012 05:36:30 +0000 (15:36 +1000)
When running the mdadm testsuite on ppc64 with a 64kB page size I
see a couple of failures because the chunk size is smaller than a
page.

Bump the chunksize to 64kB to fix these failures.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: NeilBrown <neilb@suse.de>
tests/02r5grow
tests/02r6grow

index f9fd5713bb3a5498a4c312891d51a4495699406f..b91ffcd41ee5878b0b6f0fbdf33f242985807c3d 100644 (file)
@@ -2,7 +2,7 @@
 
 # create a small raid5 array, make it larger.  Then make it smaller
 
-mdadm -CR $md0 -e0.90 --level raid5 --chunk=32 --raid-disks 3 --size $[size/2] $dev1 $dev2 $dev3 
+mdadm -CR $md0 -e0.90 --level raid5 --chunk=64 --raid-disks 3 --size $[size/2] $dev1 $dev2 $dev3 
 check wait
 check state UUU
 testdev $md0 2 $[size/2] 32
index 3f539042bfe7686f432deb060effa2b1eee24875..38c77810319a8670a3d90dbb4ebeebed3ec45f3c 100644 (file)
@@ -2,7 +2,7 @@
 
 # create a small raid6 array, make it larger.  Then make it smaller
 
-mdadm -CR $md0 -e 0.90 --level raid6 --chunk=32 --raid-disks 4 --size $[size/2] $dev1 $dev2 $dev3 $dev4 
+mdadm -CR $md0 -e 0.90 --level raid6 --chunk=64 --raid-disks 4 --size $[size/2] $dev1 $dev2 $dev3 $dev4 
 check wait
 check state UUUU
 testdev $md0 2 $[size/2] 32