pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
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_t * | pcmk__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) |
const pcmk_node_t* pcmk__ban_insufficient_capacity | ( | pcmk_resource_t * | rsc | ) |
Definition at line 296 of file pcmk_sched_utilization.c.
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.
void pcmk__consume_node_capacity | ( | GHashTable * | current_utilization, |
const pcmk_resource_t * | rsc | ||
) |
Definition at line 167 of file pcmk_sched_utilization.c.
void pcmk__create_utilization_constraints | ( | pcmk_resource_t * | rsc, |
const GList * | allowed_nodes | ||
) |
Definition at line 418 of file pcmk_sched_utilization.c.
void pcmk__release_node_capacity | ( | GHashTable * | current_utilization, |
const pcmk_resource_t * | rsc | ||
) |
Definition at line 186 of file pcmk_sched_utilization.c.
void pcmk__show_node_capacities | ( | const char * | desc, |
pcmk_scheduler_t * | scheduler | ||
) |
Definition at line 455 of file pcmk_sched_utilization.c.