mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
tests: prohibit 4K brd device with integrity
Older kernels hit these errors: device-mapper: integrity: Bio not aligned on 8 sectors: 0x8ffc, 0x4
This commit is contained in:
parent
179f59a0ca
commit
94c4af232c
@ -15,6 +15,8 @@ SKIP_WITH_LVMPOLLD=1
|
||||
. lib/inittest
|
||||
|
||||
aux have_integrity 1 5 0 || skip
|
||||
# Avoid 4K ramdisk devices on older kernels
|
||||
aux kernel_at_least 5 10 || export LVM_TEST_PREFER_BRD=0
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
@ -14,8 +14,10 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux have_integrity 1 5 0 || skip
|
||||
which mkfs.xfs || skip
|
||||
aux have_integrity 1 5 0 || skip
|
||||
# Avoid 4K ramdisk devices on older kernels
|
||||
aux kernel_at_least 5 10 || export LVM_TEST_PREFER_BRD=0
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
@ -14,8 +14,10 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux have_integrity 1 5 0 || skip
|
||||
which mkfs.xfs || skip
|
||||
aux have_integrity 1 5 0 || skip
|
||||
# Avoid 4K ramdisk devices on older kernels
|
||||
aux kernel_at_least 5 10 || export LVM_TEST_PREFER_BRD=0
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
@ -14,9 +14,11 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux have_integrity 1 5 0 || skip
|
||||
which mkfs.xfs || skip
|
||||
which xfs_growfs || skip
|
||||
aux have_integrity 1 5 0 || skip
|
||||
# Avoid 4K ramdisk devices on older kernels
|
||||
aux kernel_at_least 5 10 || export LVM_TEST_PREFER_BRD=0
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
@ -14,9 +14,11 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux have_integrity 1 5 0 || skip
|
||||
which mkfs.xfs || skip
|
||||
which xfs_growfs || skip
|
||||
aux have_integrity 1 5 0 || skip
|
||||
# Avoid 4K ramdisk devices on older kernels
|
||||
aux kernel_at_least 5 10 || export LVM_TEST_PREFER_BRD=0
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
Loading…
Reference in New Issue
Block a user