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

tests: use zero backend

Since we are not reading read - just use zero device as backend for
test, so we do not eat real disk space.
This commit is contained in:
Zdenek Kabelac 2020-09-19 15:58:11 +02:00
parent f7c58c636d
commit f63aac5309

View File

@ -38,7 +38,7 @@ aux lvmconf 'devices/issue_discards = 1'
# Delay PVs so that resynchronization doesn't fill too much space
for device in "${DEVICES[@]}"
do
aux delay_dev "$device" 0 10 "$(get first_extent_sector "$device")"
aux zero_dev "$device" "$(( $(get first_extent_sector "$device") + 8192 )):"
done
# bz837927 START