summaryrefslogtreecommitdiffstats
path: root/tests/06wrmostly
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-09 21:53:16 +0100
committerNeilBrown <neilb@suse.de>2010-03-10 05:56:01 +0100
commitebe6ea0c4cdb37d41cb3b247645b95eb71b1332e (patch)
treea599e282976abc1f8e924a7d83e8ce3c42d6e078 /tests/06wrmostly
parentddf/intel: zero out old metadata before creating a container. (diff)
downloadmdadm-ebe6ea0c4cdb37d41cb3b247645b95eb71b1332e.tar.xz
mdadm-ebe6ea0c4cdb37d41cb3b247645b95eb71b1332e.zip
tests: adjust sizes for new defaults
Default metadata type is now 1.2, and we sometimes add extra alignment before the data section, so adjust tests for these changes. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/06wrmostly')
-rw-r--r--tests/06wrmostly4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/06wrmostly b/tests/06wrmostly
index 2a3fae64..99a48b79 100644
--- a/tests/06wrmostly
+++ b/tests/06wrmostly
@@ -2,13 +2,13 @@
# 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 1
# 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 1
mdadm -S $md0