LVM: update max_over_subscription_ratio help message

If lvm_max_over_subscription_ratio is not set, it
still has a default value. So the global config option
max_over_subscription_ratio will be replaced as well.

Update the help message to avoid misleading

Change-Id: I94e18d04c39b930e48eeacfb4415c45d924d2f97
Closes-bug: #1602235
This commit is contained in:
wangxiyuan 2017-05-24 16:59:39 +08:00
parent ac989f682b
commit 96345b82ff
1 changed files with 4 additions and 3 deletions

View File

@ -66,9 +66,10 @@ volume_opts = [
# LVM driver which is different than the global default.
default=1.0,
help='max_over_subscription_ratio setting for the LVM '
'driver. If set, this takes precedence over the '
'general max_over_subscription_ratio option. If '
'None, the general option is used.'),
'driver. This takes precedence over the general '
'max_over_subscription_ratio by default. If set '
'to None, the general max_over_subscription_ratio '
'is used.'),
cfg.BoolOpt('lvm_suppress_fd_warnings',
default=False,
help='Suppress leaked file descriptor warnings in LVM '