MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / group_update_actions

Function group_update_actions

pengine/group.c:423–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423enum pe_graph_flags
424group_update_actions(action_t * first, action_t * then, node_t * node, enum pe_action_flags flags,
425 enum pe_action_flags filter, enum pe_ordering type)
426{
427 GListPtr gIter = then->rsc->children;
428 enum pe_graph_flags changed = pe_graph_none;
429
430 CRM_ASSERT(then->rsc != NULL);
431 changed |= native_update_actions(first, then, node, flags, filter, type);
432
433 for (; gIter != NULL; gIter = gIter->next) {
434 resource_t *child = (resource_t *) gIter->data;
435 action_t *child_action = find_first_action(child->actions, NULL, then->task, node);
436
437 if (child_action) {
438 changed |= child->cmds->update_actions(first, child_action, node, flags, filter, type);
439 }
440 }
441
442 return changed;
443}
444
445void
446group_rsc_location(resource_t * rsc, rsc_to_node_t * constraint)

Callers

nothing calls this directly

Calls 2

native_update_actionsFunction · 0.85
find_first_actionFunction · 0.85

Tested by

no test coverage detected