X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=tests%2F06wrmostly;h=34be60d4bc0e61529cedf1e979b9d6179de2cd63;hb=5f175898dedb2bb2635d4d1dcb2afa8c420d5eae;hp=51fff60d280f4ec1abb10c172625bb522659e10b;hpb=dfd4d8ee426fb71a369f494f95fe95b114a33c7c;p=thirdparty%2Fmdadm.git diff --git a/tests/06wrmostly b/tests/06wrmostly index 51fff60d..34be60d4 100644 --- a/tests/06wrmostly +++ b/tests/06wrmostly @@ -1,15 +1,14 @@ -set -e # create a raid1 array with a wrmostly device -$mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2 -sh tests/testdev $md0 1 $mdsize0 64 +mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2 +testdev $md0 1 $mdsize0 64 # unfortunately, we cannot measure if any read requests are going to $dev2 -$mdadm -S $md0 +mdadm -S $md0 -$mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2 -sh tests/testdev $md0 1 $mdsize0 64 -$mdadm -S $md0 +mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2 +testdev $md0 1 $mdsize0 64 +mdadm -S $md0