MCPcopy Create free account
hub / github.com/ceph/ceph / get_session

Method get_session

src/osdc/Objecter.cc:1967–1976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1965}
1966
1967void Objecter::get_session(Objecter::OSDSession *s)
1968{
1969 ceph_assert(s != NULL);
1970
1971 if (!s->is_homeless()) {
1972 ldout(cct, 20) << __func__ << " s=" << s << " osd=" << s->osd << " "
1973 << s->get_nref() << dendl;
1974 s->get();
1975 }
1976}
1977
1978void Objecter::_reopen_session(OSDSession *s)
1979{

Callers

nothing calls this directly

Calls 3

is_homelessMethod · 0.80
get_nrefMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected