]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/config.cc
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / common / config.cc
index 4154ac66194f9ed2f6df46ee7f77351c48871f91..8024d433bf6a6a77784a083213bcbdc55fb86c4d 100644 (file)
@@ -320,6 +320,11 @@ int md_config_t::set_mon_vals(CephContext *cct,
                  << " cleared (was " << Option::to_str(config->second) << ")"
                  << dendl;
     values.rm_val(name, CONF_MON);
+    // if this is a debug option, it needs to propagate to teh subsys;
+    // this isn't covered by update_legacy_vals() below.  similarly,
+    // we want to trigger a config notification for these items.
+    const Option *o = find_option(name);
+    _refresh(values, *o);
   });
   values_bl.clear();
   update_legacy_vals(values);