For built-in types, we have a kludge that non-string types all appear to
be runtime-updateable. There's no such distinction for module options.
Signed-off-by: Sage Weil <sage@redhat.com>
{
return
(has_flag(FLAG_RUNTIME)
- || type == TYPE_BOOL || type == TYPE_INT
- || type == TYPE_UINT || type == TYPE_FLOAT
- || type == TYPE_SIZE || type == TYPE_SECS)
+ || (!has_flag(FLAG_MGR)
+ && (type == TYPE_BOOL || type == TYPE_INT
+ || type == TYPE_UINT || type == TYPE_FLOAT
+ || type == TYPE_SIZE || type == TYPE_SECS)))
&& !has_flag(FLAG_STARTUP)
&& !has_flag(FLAG_CLUSTER_CREATE)
&& !has_flag(FLAG_CREATE);