osd: constify arg to identify_splits

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-04-02 08:43:55 -05:00
parent c9bf02f481
commit dba7521d92
2 changed files with 2 additions and 2 deletions

View File

@ -9468,7 +9468,7 @@ void OSDShard::_wake_pg_slot(
++slot->requeue_seq;
}
void OSDShard::identify_splits(OSDMapRef as_of_osdmap, set<spg_t> *pgids)
void OSDShard::identify_splits(const OSDMapRef& as_of_osdmap, set<spg_t> *pgids)
{
Mutex::Locker l(sdata_op_ordering_lock);
if (osdmap) {

View File

@ -1181,7 +1181,7 @@ struct OSDShard {
void _wake_pg_slot(spg_t pgid, OSDShardPGSlot *slot);
void identify_splits(OSDMapRef as_of_osdmap, set<spg_t> *pgids);
void identify_splits(const OSDMapRef& as_of_osdmap, set<spg_t> *pgids);
void _prime_splits(set<spg_t> *pgids);
void prime_splits(OSDMapRef as_of_osdmap, set<spg_t> *pgids);
void register_and_wake_split_child(PG *pg);