diff --git a/WHATS_NEW b/WHATS_NEW index 30f1391ba..664df6138 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.03.09 - ==================================== + Fix formating of vdopool (vdo_slab_size_mb was smaller by 2 bits). Fix showing of a dm kernel error when uncaching a volume with cachevol. Version 2.03.08 - 11th February 2020 diff --git a/test/lib/aux.sh b/test/lib/aux.sh index a9d1fe49d..83a88a611 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -1233,6 +1233,7 @@ activation/udev_sync = 1 activation/verify_udev_operations = $LVM_VERIFY_UDEV activation/raid_region_size = 512 allocation/wipe_signatures_when_zeroing_new_lvs = 0 +allocation/vdo_slab_size_mb = 128 backup/archive = 0 backup/backup = 0 devices/cache_dir = "$TESTDIR/etc" diff --git a/test/shell/lvcreate-vdo.sh b/test/shell/lvcreate-vdo.sh index 64377cdc2..d66e35390 100644 --- a/test/shell/lvcreate-vdo.sh +++ b/test/shell/lvcreate-vdo.sh @@ -34,14 +34,17 @@ get_devs # 'allocation/vdo_physical_threads = 0' \ # 'allocation/vdo_cpu_threads = 1' -aux lvmconf 'allocation/vdo_slab_size_mb = 128' - - vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}" # Create VDO device (vdo-pool is ATM internal volume type) -lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 -check lv_field $vg/$lv1 size "1.24g" +lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 >out 2>&1 +# new vdoformat prints some more info +if grep "data slabs" out ; then + # check we have match vdo_slab_size_mb == 128MB (aux.sh) + grep "each 128 MB" out +fi + +check lv_field $vg/$lv1 size "<1.24g" check lv_field $vg/${lv2} size "4.00g" check lv_field $vg/${lv2}_vdata size "4.00g" lvremove -ff $vg