mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
osd: constify arg to identify_splits
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
c9bf02f481
commit
dba7521d92
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user