mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
tests: slow down device more
Make the race with too fast merging less likely to occure.
This commit is contained in:
parent
94c4af232c
commit
2dd43a7314
@ -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
|
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
|
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
|
# Initiate background merge
|
||||||
lvconvert -b --merge $vg/$lv2
|
lvconvert -b --merge $vg/$lv2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user