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

tests: slow down device more

Make the race with too fast merging less likely to occure.
This commit is contained in:
Zdenek Kabelac 2021-03-20 09:58:50 +01:00
parent 94c4af232c
commit 2dd43a7314

View File

@ -49,7 +49,7 @@ lvcreate -s -n $lv2 -L2 $vg/$lv1 "$dev2"
dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv2" bs=1M count=1 oflag=direct
lvs -a -o+lv_merging,lv_merge_failed $vg
aux delay_dev "$dev1" 0 100 "$(get first_extent_sector "$dev1"):"
aux delay_dev "$dev1" 0 400 "$(get first_extent_sector "$dev1"):"
# Initiate background merge
lvconvert -b --merge $vg/$lv2