From 96bc841fbd02f8d88f3d3ea42cf79a33954e1174 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 9 Jul 2002 22:48:54 +0000
Subject: [PATCH] Remove some vestigial node states

---
 src/common/slurm_protocol_defs.c | 3 ---
 src/common/slurm_protocol_defs.h | 5 +----
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/common/slurm_protocol_defs.c b/src/common/slurm_protocol_defs.c
index c0cd55e553e..bd3cff9c23c 100644
--- a/src/common/slurm_protocol_defs.c
+++ b/src/common/slurm_protocol_defs.c
@@ -363,9 +363,6 @@ node_state_string(uint16_t inx)
 		"UNKNOWN", 
 		"IDLE", 
 		"ALLOCATED", 
-		"STAGE_IN", 
-		"RUNNING", 
-		"STAGE_OUT", 
 		"DRAINED", 
 		"DRAINING", 
 		"END" 
diff --git a/src/common/slurm_protocol_defs.h b/src/common/slurm_protocol_defs.h
index d0c0f47481d..f4fbda26cdc 100644
--- a/src/common/slurm_protocol_defs.h
+++ b/src/common/slurm_protocol_defs.h
@@ -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 */
-- 
GitLab