Update some device sizes for self tests.
A recent change means that devices smaller than 1Gig no longer have 1Meg wasted at the start. So we must adjust some sizes again. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
65d38cca14
commit
3c8b273984
6
test
6
test
|
@ -37,12 +37,12 @@ mdsize1=19992
|
||||||
mdsize1a=19988
|
mdsize1a=19988
|
||||||
mdsize12=19988
|
mdsize12=19988
|
||||||
# super1.2 for linear: round to multiple of 2, subtract 4
|
# super1.2 for linear: round to multiple of 2, subtract 4
|
||||||
mdsize1_l=18976
|
mdsize1_l=19996
|
||||||
mdsize2_l=18976
|
mdsize2_l=19996
|
||||||
# subtract another 4 for bitmaps
|
# subtract another 4 for bitmaps
|
||||||
mdsize1b=19988
|
mdsize1b=19988
|
||||||
mdsize11=19992
|
mdsize11=19992
|
||||||
mdsize11a=18944
|
mdsize11a=19456
|
||||||
mdsize12=19988
|
mdsize12=19988
|
||||||
|
|
||||||
# ddf needs bigger devices as 32Meg is reserved!
|
# ddf needs bigger devices as 32Meg is reserved!
|
||||||
|
|
|
@ -20,5 +20,5 @@ mdadm -CR $md0 -l0 -n2 $md1 $dev2 --homehost=testing
|
||||||
mdadm -Ss
|
mdadm -Ss
|
||||||
mdadm -As -c /dev/null --homehost=testing -vvv
|
mdadm -As -c /dev/null --homehost=testing -vvv
|
||||||
testdev $md1 1 $mdsize1a 64
|
testdev $md1 1 $mdsize1a 64
|
||||||
testdev $md0 1 $[mdsize1a+mdsize11a-1024] 512
|
testdev $md0 1 $[mdsize1a+mdsize11a] 512
|
||||||
mdadm -Ss
|
mdadm -Ss
|
||||||
|
|
Loading…
Reference in New Issue