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

Method touch_cap

src/mds/SessionMap.cc:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47using namespace std;
48
49void Session::touch_cap(Capability *cap) {
50 session_cache_liveness.hit(1.0);
51 caps.push_front(&cap->item_session_caps);
52}
53
54void Session::touch_cap_bottom(Capability *cap) {
55 session_cache_liveness.hit(1.0);

Callers 1

mark_notableMethod · 0.80

Calls 2

hitMethod · 0.80
push_frontMethod · 0.45

Tested by

no test coverage detected