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

Method try_touch_cap

src/client/Inode.cc:276–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void Inode::try_touch_cap(mds_rank_t mds)
277{
278 auto it = caps.find(mds);
279 if (it != caps.end()) {
280 it->second.touch();
281 }
282}
283
284/**
285 * caps_issued_mask - check whether we have all of the caps in the mask

Callers 1

_lookupMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
touchMethod · 0.45

Tested by

no test coverage detected