Since extending by 0% will not increase the size of pool,
return failure.
Version 2.02.98 -
=================================
+ Using autoextend percent 0 for thin pool fails 'lvextend --use-policies'.
Introduce blkdeactivate script.
Implement devices/global_filter (affects lvmetad).
Make vgscan --cache an alias to pvscan --cache.
policy_amount =
find_config_tree_int(cmd, "activation/thin_pool_autoextend_percent",
DEFAULT_THIN_POOL_AUTOEXTEND_PERCENT);
+ if (!policy_amount && policy_threshold < PERCENT_100)
+ return 0;
} else {
policy_threshold =
find_config_tree_int(cmd, "activation/snapshot_autoextend_threshold",