Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
276
void 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
_lookup
Method · 0.80
Calls
3
find
Method · 0.45
end
Method · 0.45
touch
Method · 0.45
Tested by
no test coverage detected