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

Method renew_caps

src/client/Client.cc:7660–7670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7658}
7659
7660void Client::renew_caps()
7661{
7662 ldout(cct, 10) << "renew_caps()" << dendl;
7663 last_cap_renew = ceph::coarse_mono_clock::now();
7664
7665 for (auto &p : mds_sessions) {
7666 ldout(cct, 15) << "renew_caps requesting from mds." << p.first << dendl;
7667 if (mdsmap->get_state(p.first) >= MDSMap::STATE_REJOIN)
7668 renew_caps(p.second.get());
7669 }
7670}
7671
7672void Client::renew_caps(MetaSession *session)
7673{

Callers

nothing calls this directly

Calls 5

ceph_clock_nowFunction · 0.85
send_message2Method · 0.80
nowFunction · 0.50
get_stateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected