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

Method apply

src/mds/Mutation.cc:254–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void MutationImpl::apply()
255{
256 for (auto& obj : projected_nodes) {
257 if (CInode *in = dynamic_cast<CInode*>(obj))
258 in->pop_and_dirty_projected_inode(ls, nullptr);
259 }
260
261 for (const auto& in : dirty_cow_inodes) {
262 in->_mark_dirty(ls);
263 }
264
265 for (const auto& [dn, v] : dirty_cow_dentries) {
266 dn->mark_dirty(v, ls);
267 }
268
269 for (auto& obj : projected_nodes) {
270 if (CDir *dir = dynamic_cast<CDir*>(obj))
271 dir->pop_and_dirty_projected_fnode(ls, nullptr);
272 }
273
274 for (const auto& lock : updated_locks) {
275 lock->mark_dirty();
276 }
277
278 projected_nodes.clear();
279}
280
281void MutationImpl::cleanup()
282{

Callers 15

jquery.jsFile · 0.45
fireFunction · 0.45
togglerFunction · 0.45
SizzleFunction · 0.45
setMatcherFunction · 0.45
matcherFromTokensFunction · 0.45
superMatcherFunction · 0.45
selectFunction · 0.45
executeHooksFunction · 0.45
_finish_frag_updateMethod · 0.45
finishMethod · 0.45
finishMethod · 0.45

Calls 5

_mark_dirtyMethod · 0.45
mark_dirtyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected