]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - test
Explain the read-balancing algorithm for RAID1 better in md.4
[thirdparty/mdadm.git] / test
diff --git a/test b/test
index a83b68e69d181f737f17696a5b79656c76c04403..d2719854717a08ffbf2eaa5a292886f7b8dee9f6 100644 (file)
--- a/test
+++ b/test
@@ -21,15 +21,21 @@ fi
 
 # assume md0, md1, md2 exist in /dev
 md0=/dev/md0 md1=/dev/md1 md2=/dev/md2
+mdp0=/dev/md_d0
+mdp1=/dev/md_d1
 
 # We test mdadm on loop-back block devices.
 # dir for storing files should be settable by command line maybe
 targetdir=/var/tmp
 size=20000
+# super0, round down to multiple of 64 and substract 64
 mdsize0=19904
+# super1.0 round down to multiple of 2, subtract 8
 mdsize1=19992
-mdsize11=19996
-mdsize12=19992
+# subtract another 4 for bitmaps
+mdsize1b=19988
+mdsize11=19992
+mdsize12=19988
 
 cleanup() {
        $mdadm -Ss