mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-22 06:50:52 +03:00
tests: be happy with less then 90 percent
Thin metadata evolve between kernel version, so it's not always precisely predictible its usage - so let's met test happy, when it gets bellow 90%.
This commit is contained in:
parent
a611f24751
commit
343d80a7fe
@ -111,7 +111,10 @@ lvs -a $vg
|
||||
lvextend --use-policies --config "\
|
||||
activation/thin_pool_autoextend_percent=1 \
|
||||
activation/thin_pool_autoextend_threshold=99" $vg/pool
|
||||
test "$(meta_percent_)" -lt "88"
|
||||
# Originaly wanted to test <88% -
|
||||
# however some older kernels consume a bit more space, so be happy
|
||||
# when it's <90%
|
||||
test "$(meta_percent_)" -lt "90"
|
||||
|
||||
# After such operatoin creation of thin LV has to pass
|
||||
lvcreate -V20 $vg/pool
|
||||
|
Loading…
x
Reference in New Issue
Block a user