mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: show some more device info
When passdown is not there, look for possible reason.
This commit is contained in:
parent
994df22b60
commit
9f6b006272
@ -29,7 +29,12 @@ lvcreate -L10M -T $vg/pool
|
||||
# Check change operations on a thin-pool without any thin LV
|
||||
#
|
||||
# discards_ARG (default is passdown)
|
||||
check grep_dmsetup status $vg-pool " discard_passdown"
|
||||
check grep_dmsetup status $vg-pool " discard_passdown" || {
|
||||
# trace device layout
|
||||
grep -r "" /sys/block/*
|
||||
die "Device was expected to support passdown"
|
||||
}
|
||||
|
||||
lvchange -vvvv --discards nopassdown $vg/pool
|
||||
check grep_dmsetup table $vg-pool " no_discard_passdown"
|
||||
check grep_dmsetup status $vg-pool " no_discard_passdown"
|
||||
|
Loading…
Reference in New Issue
Block a user