Inititally we don't load them if OSD compression mode is set to none.
But we might need them when pool's compression is enabled but some
settings aren't set.
Fixes: http://tracker.ceph.com/issues/40480
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
compressor = nullptr;
- if (comp_mode == Compressor::COMP_NONE) {
- dout(10) << __func__ << " compression mode set to 'none', "
- << "ignore other compression settings" << dendl;
- return;
- }
-
if (cct->_conf->bluestore_compression_min_blob_size) {
comp_min_blob_size = cct->_conf->bluestore_compression_min_blob_size;
} else {