pacemaker  2.1.7-0f7f88312f
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 pcmk_node_t *node1, const pcmk_node_t *node2)
 
void pcmk__consume_node_capacity (GHashTable *current_utilization, const pcmk_resource_t *rsc)
 
void pcmk__release_node_capacity (GHashTable *current_utilization, const pcmk_resource_t *rsc)
 
const pcmk_node_tpcmk__ban_insufficient_capacity (pcmk_resource_t *rsc)
 
void pcmk__create_utilization_constraints (pcmk_resource_t *rsc, const GList *allowed_nodes)
 
void pcmk__show_node_capacities (const char *desc, pcmk_scheduler_t *scheduler)
 

Function Documentation

◆ pcmk__ban_insufficient_capacity()

const pcmk_node_t* pcmk__ban_insufficient_capacity ( pcmk_resource_t rsc)

Definition at line 296 of file pcmk_sched_utilization.c.

◆ pcmk__compare_node_capacities()

int pcmk__compare_node_capacities ( const pcmk_node_t node1,
const pcmk_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,
const pcmk_resource_t rsc 
)

Definition at line 167 of file pcmk_sched_utilization.c.

◆ pcmk__create_utilization_constraints()

void pcmk__create_utilization_constraints ( pcmk_resource_t rsc,
const GList *  allowed_nodes 
)

Definition at line 418 of file pcmk_sched_utilization.c.

◆ pcmk__release_node_capacity()

void pcmk__release_node_capacity ( GHashTable *  current_utilization,
const pcmk_resource_t rsc 
)

Definition at line 186 of file pcmk_sched_utilization.c.

◆ pcmk__show_node_capacities()

void pcmk__show_node_capacities ( const char *  desc,
pcmk_scheduler_t scheduler 
)

Definition at line 455 of file pcmk_sched_utilization.c.