pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
pcmk_sched_utilization.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_utilization.c:

Go to the source code of this file.

Functions

int pcmk__compare_node_capacities (const pe_node_t *node1, const pe_node_t *node2)
 
void pcmk__consume_node_capacity (GHashTable *current_utilization, pe_resource_t *rsc)
 
void pcmk__release_node_capacity (GHashTable *current_utilization, pe_resource_t *rsc)
 
void pcmk__ban_insufficient_capacity (pe_resource_t *rsc, pe_node_t **prefer, pe_working_set_t *data_set)
 
void pcmk__create_utilization_constraints (pe_resource_t *rsc, GList *allowed_nodes)
 
void pcmk__show_node_capacities (const char *desc, pe_working_set_t *data_set)
 

Function Documentation

◆ pcmk__ban_insufficient_capacity()

void pcmk__ban_insufficient_capacity ( pe_resource_t rsc,
pe_node_t **  prefer,
pe_working_set_t data_set 
)

Definition at line 292 of file pcmk_sched_utilization.c.

◆ pcmk__compare_node_capacities()

int pcmk__compare_node_capacities ( const pe_node_t node1,
const pe_node_t node2 
)

Definition at line 102 of file pcmk_sched_utilization.c.

◆ pcmk__consume_node_capacity()

void pcmk__consume_node_capacity ( GHashTable *  current_utilization,
pe_resource_t rsc 
)

Definition at line 166 of file pcmk_sched_utilization.c.

◆ pcmk__create_utilization_constraints()

void pcmk__create_utilization_constraints ( pe_resource_t rsc,
GList *  allowed_nodes 
)

Definition at line 416 of file pcmk_sched_utilization.c.

◆ pcmk__release_node_capacity()

void pcmk__release_node_capacity ( GHashTable *  current_utilization,
pe_resource_t rsc 
)

Definition at line 184 of file pcmk_sched_utilization.c.

◆ pcmk__show_node_capacities()

void pcmk__show_node_capacities ( const char *  desc,
pe_working_set_t data_set 
)

Definition at line 453 of file pcmk_sched_utilization.c.