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 <sage@redhat.com>
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;
}
};