Commit 4a0a6a94 authored by Morris Jette's avatar Morris Jette
Browse files

Add "sched_weight" logic

Add 64-bit sched_weight (scheduling weight) to node_set struct
Populate it with the node's weight (possibly reboot weight)
plus high-order bits for FLEX-reservation and rebooting.
No longer are node weights of INFINITE or (INFINITE-1) used
to flag FLEX or reboot requirements so we don't need to
worry about overlapping node weight values. It also will
cleanly allow the cons_tres plugin to be passed ALL usable
nodes at one time to accumulate resources from the lowest
weight first and only use individual higher weight nodes
as needed (rather than possibly using mostly higher
weight nodes).
bug 4821
parent 1a77652e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment