Skip to content

Commit

Permalink
Merge pull request ceph#14170 from liewegas/wip-fewer-warnings
Browse files Browse the repository at this point in the history
common/ceph_context: fewer warnings about experimental features

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Apr 2, 2017
2 parents fa3ddea + f0981d4 commit ef00668
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/common/ceph_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,6 @@ class CephContextObs : public md_config_obs_t {
conf->enable_experimental_unrecoverable_data_corrupting_features,
cct->_experimental_features);
ceph_spin_unlock(&cct->_feature_lock);
if (!cct->_experimental_features.empty()) {
if (cct->_experimental_features.count("*")) {
lderr(cct) << "WARNING: all dangerous and experimental features are enabled." << dendl;
} else {
lderr(cct) << "WARNING: the following dangerous and experimental features are enabled: "
<< cct->_experimental_features << dendl;
}
}
}
if (changed.count("crush_location")) {
cct->crush_location.update_from_conf();
Expand Down

0 comments on commit ef00668

Please sign in to comment.