mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
Merge pull request #30022 from Yan-waller/wip-yanj-miscleanup
osd: misc cleanups Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
commit
973e1312ea
@ -10335,8 +10335,7 @@ void OSDShard::identify_splits_and_merges(
|
||||
split_pgs, nullptr);
|
||||
} else {
|
||||
dout(20) << __func__ << " slot " << pgid
|
||||
<< " has no pg and waiting_for_split "
|
||||
<< slot->waiting_for_split << dendl;
|
||||
<< " has no pg and waiting_for_split " << dendl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -714,15 +714,6 @@ public:
|
||||
deleted_pool_pg_nums[pool] = pg_num;
|
||||
}
|
||||
|
||||
/// get pgnum from newmap or, if pool was deleted, last map pool existed in
|
||||
int get_possibly_deleted_pool_pg_num(OSDMapRef newmap,
|
||||
int64_t pool) {
|
||||
if (newmap->have_pg_pool(pool)) {
|
||||
return newmap->get_pg_num(pool);
|
||||
}
|
||||
return get_deleted_pool_pg_num(pool);
|
||||
}
|
||||
|
||||
/// identify split child pgids over a osdmap interval
|
||||
void identify_splits_and_merges(
|
||||
OSDMapRef old_map,
|
||||
|
Loading…
Reference in New Issue
Block a user