Skip to content
Snippets Groups Projects
Commit 7d640b2f authored by Mark Nelson's avatar Mark Nelson Committed by Danny Auble
Browse files

BGQ - fix for handling half rack system in STATIC of OVERLAP mode to

implicitly create full system block.
parent 2776ac58
No related branches found
No related tags found
No related merge requests found
...@@ -364,6 +364,17 @@ extern int create_full_system_block(List bg_found_block_list) ...@@ -364,6 +364,17 @@ extern int create_full_system_block(List bg_found_block_list)
continue; continue;
if (!strcmp(name, bg_record->mp_str)) { if (!strcmp(name, bg_record->mp_str)) {
/* if the whole system block is just one MP
* we need to match on more than just the
* name - if this bg_record doesn't have a
* MP worth of c-nodes, skip it.
*/
if (!larger && bg_conf->mp_cnode_cnt
> bg_record->cnode_cnt)
continue;
debug2("create_full_system_block: not "
"implicitly adding full system block -"
" block already defined");
xfree(name); xfree(name);
list_iterator_destroy(itr); list_iterator_destroy(itr);
/* don't create total already there */ /* don't create total already there */
......
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