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

BLUEGENE - in emulation mode fix issue with scontol update block to update

state of block to Free if need be instead of leaving it in Term
parent 3d2ade7e
No related branches found
No related tags found
No related merge requests found
......@@ -411,7 +411,7 @@ extern int bg_free_block(bg_record_t *bg_record, bool wait, bool locked)
* just incase the state was ERROR(SOMETHING ELSE) */
bg_record->state = BG_BLOCK_ERROR_FLAG;
break;
} else if (count >= 3)
} else if (!wait || (count >= 3))
bg_record->state = BG_BLOCK_FREE;
else if (bg_record->state != BG_BLOCK_FREE)
bg_record->state = BG_BLOCK_TERM;
......
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