From b7b4534d78ccdc24d02f4a0eea70d3d287aff689 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 29 Dec 2014 12:11:18 -0800 Subject: [PATCH] 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 --- src/common/ceph_context.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index 1c939b45d0a..6775fd03af0 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; } }; -- 2.47.3