]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/06wrmostly
Free map to avoid resource leak issues
[thirdparty/mdadm.git] / tests / 06wrmostly
index 2a3fae6453c7358c9f7e19adfe2357a9c8e6a5db..968c19749d17567ee96e6bfc6b11183bf0251b92 100644 (file)
@@ -2,13 +2,12 @@
 # create a raid1 array with a wrmostly device
 
 mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
-testdev $md0 1 $mdsize1 1
+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 --bitmap-chunk=4 $dev0 $dev1 --write-mostly $dev2
-testdev $md0 1 $mdsize1 1
+testdev $md0 1 $mdsize1a 64
 mdadm -S $md0
-