OPTION(osd_pool_default_flags, OPT_INT, 0) // default flags for new pools
OPTION(osd_pool_default_flag_hashpspool, OPT_BOOL, false) // use new pg hashing to prevent pool/pg overlap
OPTION(osd_hit_set_min_size, OPT_INT, 1000) // min target size for a HitSet
+OPTION(osd_hit_set_namespace, OPT_STR, ".ceph-internal") // rados namespace for hit_set tracking
OPTION(osd_map_dedup, OPT_BOOL, true)
OPTION(osd_map_cache_size, OPT_INT, 500)
OPTION(osd_map_message_max, OPT_INT, 100) // max maps per MOSDMap message
ostringstream ss;
ss << "hit_set_" << info.pgid << "_current_" << stamp;
hobject_t hoid(sobject_t(ss.str(), CEPH_NOSNAP), "",
- info.pgid.ps(), info.pgid.pool(), "");
+ info.pgid.ps(), info.pgid.pool(),
+ cct->_conf->osd_hit_set_namespace);
dout(20) << __func__ << " " << hoid << dendl;
return hoid;
}
ostringstream ss;
ss << "hit_set_" << info.pgid << "_archive_" << start << "_" << end;
hobject_t hoid(sobject_t(ss.str(), CEPH_NOSNAP), "",
- info.pgid.ps(), info.pgid.pool(), "");
+ info.pgid.ps(), info.pgid.pool(),
+ cct->_conf->osd_hit_set_namespace);
dout(20) << __func__ << " " << hoid << dendl;
return hoid;
}