1011e8344a
Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
|
|
# create a raid1 array with a wrmostly device
|
|
|
|
mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
|
|
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 $mdsize1a 64
|
|
mdadm -S $md0
|