mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
test: allow to succeed in the cluster
Avoiding "$(get first_extent_sector "$d")" in the loop allows the test to succeed in the cluster. Further cluster analysis needed to get to the core reason.
This commit is contained in:
parent
053314f295
commit
b74e7f6a78
@ -25,10 +25,12 @@ aux lvmconf 'allocation/maximise_cling = 0' \
|
||||
aux prepare_vg 8 80
|
||||
get_devs
|
||||
|
||||
offset=$(get first_extent_sector $dev1)
|
||||
|
||||
function delay
|
||||
{
|
||||
for d in "${DEVICES[@]}"; do
|
||||
aux delay_dev "$d" 0 $1 "$(get first_extent_sector "$d")"
|
||||
aux delay_dev "$d" 0 $1 "$offset"
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user