]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/06wrmostly
mdadm/test: Add one test case for raid5 reshape
[thirdparty/mdadm.git] / tests / 06wrmostly
index 929610cc74dee0b36e09e84d380bd48ad87b82c4..968c19749d17567ee96e6bfc6b11183bf0251b92 100644 (file)
@@ -1,15 +1,13 @@
-set -e
 
 # create a raid1 array with a wrmostly device
 
 mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
-testdev $md0 1 $mdsize0 64
+testdev $md0 1 $mdsize1a 64
 
 # unfortunately, we cannot measure if any read requests are going to $dev2
 
 mdadm -S $md0
 
-mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
-testdev $md0 1 $mdsize0 64
+mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal --bitmap-chunk=4 $dev0 $dev1 --write-mostly $dev2
+testdev $md0 1 $mdsize1a 64
 mdadm -S $md0
-