pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros | 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.

Macros

#define LOAD_STOPPED   "load_stopped"
 

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, const pe_resource_t *rsc)
 
const pe_node_tpcmk__ban_insufficient_capacity (pe_resource_t *rsc)
 
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)
 

Macro Definition Documentation

◆ LOAD_STOPPED

#define LOAD_STOPPED   "load_stopped"

Definition at line 17 of file pcmk_sched_utilization.c.

Function Documentation

◆ pcmk__ban_insufficient_capacity()

const pe_node_t* pcmk__ban_insufficient_capacity ( pe_resource_t rsc)

Definition at line 297 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 105 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 169 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 419 of file pcmk_sched_utilization.c.

◆ pcmk__release_node_capacity()

void pcmk__release_node_capacity ( GHashTable *  current_utilization,
const pe_resource_t rsc 
)

Definition at line 187 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 456 of file pcmk_sched_utilization.c.