Skip to content
Snippets Groups Projects
Commit 5c386455 authored by David Bigagli's avatar David Bigagli
Browse files

Modify f6c5302b to handle drained nodes as well

parent f6c5302b
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,8 @@ static void _do_power_work(time_t now)
(node_ptr->sus_job_cnt == 0) &&
(!IS_NODE_COMPLETING(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)) &&
((exc_node_bitmap == NULL) ||
(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