From: Sage Weil Date: Mon, 29 Dec 2014 20:11:18 +0000 (-0800) Subject: common: log which experimental features are enabled. X-Git-Tag: v0.92~88^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7b4534d78ccdc24d02f4a0eea70d3d287aff689;p=ceph.git common: log which experimental features are enabled. This will appear in the logs regardless of whether or not the features get used/enabled via other config options. Signed-off-by: Sage Weil --- diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index 1c939b45d0a7..6775fd03af06 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -176,6 +176,9 @@ public: get_str_set(conf->enable_experimental_unrecoverable_data_corrupting_features, cct->_experimental_features); ceph_spin_unlock(&cct->_feature_lock); + if (!cct->_experimental_features.empty()) + lderr(cct) << "WARNING: the following dangerous and experimental features are enabled: " + << cct->_experimental_features << dendl; } };