Skip to content
Snippets Groups Projects
Commit 96bc841f authored by Moe Jette's avatar Moe Jette
Browse files

Remove some vestigial node states

parent dab3d127
No related branches found
No related tags found
No related merge requests found
......@@ -363,9 +363,6 @@ node_state_string(uint16_t inx)
"UNKNOWN",
"IDLE",
"ALLOCATED",
"STAGE_IN",
"RUNNING",
"STAGE_OUT",
"DRAINED",
"DRAINING",
"END"
......
......@@ -43,7 +43,7 @@
/* INFINITE is used to identify unlimited configurations, */
/* eg. the maximum count of nodes any job may use in some partition */
#define INFINITE (0xffffffff)
#define NO_VAL (0x7f7f7f7f)
#define NO_VAL (0xfffffffe)
/* last entry must be STATE_END, keep in sync with node_state_string */
/* if a node ceases to respond, its last state is ORed with NODE_STATE_NO_RESPOND */
......@@ -52,9 +52,6 @@ enum node_states {
NODE_STATE_UNKNOWN, /* node's initial state, unknown */
NODE_STATE_IDLE, /* node idle and available for use */
NODE_STATE_ALLOCATED, /* node has been allocated, job not currently running */
NODE_STATE_STAGE_IN, /* node has been allocated, job is starting execution */
NODE_STATE_RUNNING, /* node has been allocated, job currently running */
NODE_STATE_STAGE_OUT, /* node has been allocated, job is terminating */
NODE_STATE_DRAINED, /* node idle and not to be allocated future work */
NODE_STATE_DRAINING, /* node in use, but not to be allocated future work */
NODE_STATE_END /* last entry in table */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment