pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_group.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_group.c:

Go to the source code of this file.

Functions

pcmk_node_tpcmk__group_assign (pcmk_resource_t *rsc, const pcmk_node_t *prefer, bool stop_if_fail)
 
void pcmk__group_create_actions (pcmk_resource_t *rsc)
 
void pcmk__group_internal_constraints (pcmk_resource_t *rsc)
 
void pcmk__group_apply_coloc_score (pcmk_resource_t *dependent, const pcmk_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
uint32_t pcmk__group_action_flags (pcmk_action_t *action, const pcmk_node_t *node)
 
uint32_t pcmk__group_update_ordered_actions (pcmk_action_t *first, pcmk_action_t *then, const pcmk_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pcmk_scheduler_t *scheduler)
 
void pcmk__group_apply_location (pcmk_resource_t *rsc, pe__location_t *location)
 
GList * pcmk__group_colocated_resources (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *colocated_rscs)
 
void pcmk__with_group_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void pcmk__group_with_colocations (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void pcmk__group_add_colocated_node_scores (pcmk_resource_t *source_rsc, const pcmk_resource_t *target_rsc, const char *log_id, GHashTable **nodes, const pcmk__colocation_t *colocation, float factor, uint32_t flags)
 
void pcmk__group_add_utilization (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void pcmk__group_shutdown_lock (pcmk_resource_t *rsc)
 

Function Documentation

◆ pcmk__group_action_flags()

uint32_t pcmk__group_action_flags ( pcmk_action_t action,
const pcmk_node_t node 
)

Definition at line 487 of file pcmk_sched_group.c.

◆ pcmk__group_add_colocated_node_scores()

void pcmk__group_add_colocated_node_scores ( pcmk_resource_t source_rsc,
const pcmk_resource_t target_rsc,
const char *  log_id,
GHashTable **  nodes,
const pcmk__colocation_t colocation,
float  factor,
uint32_t  flags 
)

Definition at line 844 of file pcmk_sched_group.c.

◆ pcmk__group_add_utilization()

void pcmk__group_add_utilization ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList *  all_rscs,
GHashTable *  utilization 
)

Definition at line 899 of file pcmk_sched_group.c.

◆ pcmk__group_apply_coloc_score()

void pcmk__group_apply_coloc_score ( pcmk_resource_t dependent,
const pcmk_resource_t primary,
const pcmk__colocation_t colocation,
bool  for_dependent 
)

Definition at line 458 of file pcmk_sched_group.c.

◆ pcmk__group_apply_location()

void pcmk__group_apply_location ( pcmk_resource_t rsc,
pe__location_t location 
)

Definition at line 610 of file pcmk_sched_group.c.

◆ pcmk__group_assign()

pcmk_node_t* pcmk__group_assign ( pcmk_resource_t rsc,
const pcmk_node_t prefer,
bool  stop_if_fail 
)

Definition at line 38 of file pcmk_sched_group.c.

◆ pcmk__group_colocated_resources()

GList* pcmk__group_colocated_resources ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList *  colocated_rscs 
)

Definition at line 648 of file pcmk_sched_group.c.

◆ pcmk__group_create_actions()

void pcmk__group_create_actions ( pcmk_resource_t rsc)

Definition at line 115 of file pcmk_sched_group.c.

◆ pcmk__group_internal_constraints()

void pcmk__group_internal_constraints ( pcmk_resource_t rsc)

Definition at line 306 of file pcmk_sched_group.c.

◆ pcmk__group_shutdown_lock()

void pcmk__group_shutdown_lock ( pcmk_resource_t rsc)

Definition at line 941 of file pcmk_sched_group.c.

◆ pcmk__group_update_ordered_actions()

uint32_t pcmk__group_update_ordered_actions ( pcmk_action_t first,
pcmk_action_t then,
const pcmk_node_t node,
uint32_t  flags,
uint32_t  filter,
uint32_t  type,
pcmk_scheduler_t scheduler 
)

Definition at line 570 of file pcmk_sched_group.c.

◆ pcmk__group_with_colocations()

void pcmk__group_with_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 737 of file pcmk_sched_group.c.

◆ pcmk__with_group_colocations()

void pcmk__with_group_colocations ( const pcmk_resource_t rsc,
const pcmk_resource_t orig_rsc,
GList **  list 
)

Definition at line 688 of file pcmk_sched_group.c.