diff options
author | NeilBrown <neilb@suse.de> | 2010-03-09 21:53:16 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-03-10 05:56:01 +0100 |
commit | ebe6ea0c4cdb37d41cb3b247645b95eb71b1332e (patch) | |
tree | a599e282976abc1f8e924a7d83e8ce3c42d6e078 /tests/06wrmostly | |
parent | ddf/intel: zero out old metadata before creating a container. (diff) | |
download | mdadm-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/06wrmostly | 4 |
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 |