HomeClusterLabs Projects

Refactor: scheduler: best practices when updating node capacities

Description

Refactor: scheduler: best practices when updating node capacities

Replace calculate_utilization() with two functions
pcmkconsume_node_capacity() and pcmkrelease_node_capacity(), for
readability.

Also add doxygen blocks, and simplify a bit.

Details

Provenance
kgaillotAuthored on Dec 20 2021, 12:44 PM
Parents
rP5ebca5a67675: Refactor: scheduler: best practices when comparing node capacities
Branches
Unknown
Tags
Unknown

Event Timeline