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

Method put_session

src/osdc/Objecter.cc:1958–1965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1956}
1957
1958void Objecter::put_session(Objecter::OSDSession *s)
1959{
1960 if (s && !s->is_homeless()) {
1961 ldout(cct, 20) << __func__ << " s=" << s << " osd=" << s->osd << " "
1962 << s->get_nref() << dendl;
1963 s->put();
1964 }
1965}
1966
1967void Objecter::get_session(Objecter::OSDSession *s)
1968{

Callers

nothing calls this directly

Calls 3

is_homelessMethod · 0.80
get_nrefMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected