Skip to content
Snippets Groups Projects
Commit 74878af0 authored by Danny Auble's avatar Danny Auble
Browse files

Merge remote-tracking branch 'origin/slurm-14.11'

Conflicts:
	NEWS
parents 887255fb 7660da9e
No related branches found
No related tags found
No related merge requests found
...@@ -353,6 +353,11 @@ documents those changes that are of interest to users and administrators. ...@@ -353,6 +353,11 @@ documents those changes that are of interest to users and administrators.
has been modified to accept a "Pack" and "NoPack" option. These options can has been modified to accept a "Pack" and "NoPack" option. These options can
be used to override the CR_PACK_NODE configuration option. be used to override the CR_PACK_NODE configuration option.
* Changes in Slurm 14.11.10
===========================
-- If a node is down do not set it in power suspend mode, as it could be
resumed and defeat the purpose of being shut down.
* Changes in Slurm 14.11.9 * Changes in Slurm 14.11.9
========================== ==========================
-- Correct "sdiag" backfill cycle time calculation if it yields locks. A -- Correct "sdiag" backfill cycle time calculation if it yields locks. A
......
...@@ -181,10 +181,12 @@ static void _do_power_work(time_t now) ...@@ -181,10 +181,12 @@ static void _do_power_work(time_t now)
if (run_suspend && if (run_suspend &&
(susp_state == 0) && (susp_state == 0) &&
((suspend_rate == 0) || (suspend_cnt < suspend_rate)) && ((suspend_rate == 0) || (suspend_cnt < suspend_rate)) &&
(IS_NODE_IDLE(node_ptr) || IS_NODE_DOWN(node_ptr)) && (IS_NODE_IDLE(node_ptr)) &&
(node_ptr->sus_job_cnt == 0) && (node_ptr->sus_job_cnt == 0) &&
(!IS_NODE_COMPLETING(node_ptr)) && (!IS_NODE_COMPLETING(node_ptr)) &&
(!IS_NODE_POWER_UP(node_ptr)) && (!IS_NODE_POWER_UP(node_ptr)) &&
(!IS_NODE_DRAINED(node_ptr)) &&
(!IS_NODE_DRAINING(node_ptr)) &&
(node_ptr->last_idle < (now - idle_time)) && (node_ptr->last_idle < (now - idle_time)) &&
((exc_node_bitmap == NULL) || ((exc_node_bitmap == NULL) ||
(bit_test(exc_node_bitmap, i) == 0))) { (bit_test(exc_node_bitmap, i) == 0))) {
......
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