1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: increate delay for raid rebuild

Delay writes just to usable extents on a PV
(so lvm2 metadata update remains fast).
Raise delay to 10ms for write.
This commit is contained in:
Zdenek Kabelac 2016-09-09 20:24:48 +02:00
parent 06e36fb434
commit 6166cea5bf
2 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@ aux have_raid 1 3 2 || skip
aux prepare_vg 8 aux prepare_vg 8
# Delay 1st leg so that rebuilding status characters can be read # Delay 1st leg so that rebuilding status characters can be read
for d in "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6" "$dev7" "$dev8" for d in $(< DEVICES)
do do
aux delay_dev $d 0 3 aux delay_dev "$d" 0 10 $(get first_extent_sector "$d")
done done
# rhbz 1064592 # rhbz 1064592

View File

@ -21,7 +21,7 @@ aux prepare_vg 6
# Delay 1st leg so that rebuilding status characters # Delay 1st leg so that rebuilding status characters
# can be read before resync finished too quick. # can be read before resync finished too quick.
aux delay_dev "$dev1" 0 1 aux delay_dev "$dev1" 0 10 $(get first_extent_sector "$dev1")
# raid0/raid0_meta don't support resynchronization # raid0/raid0_meta don't support resynchronization
for r in raid0 raid0_meta for r in raid0 raid0_meta