It is never used and I see no chance it will be used.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
return pg;
}
-
-PG *OSD::_lookup_pg(spg_t pgid)
-{
- RWLock::RLocker l(pg_map_lock);
- if (!pg_map.count(pgid))
- return NULL;
- PG *pg = pg_map[pgid];
- return pg;
-}
-
PG *OSD::_lookup_lock_pg_with_map_lock_held(spg_t pgid)
{
assert(pg_map.count(pgid));
bool _have_pg(spg_t pgid);
PG *_lookup_lock_pg_with_map_lock_held(spg_t pgid);
PG *_lookup_lock_pg(spg_t pgid);
- PG *_lookup_pg(spg_t pgid);
PG *_open_lock_pg(OSDMapRef createmap,
spg_t pg, bool no_lockdep_check=false);
enum res_result {