Skip to content
Snippets Groups Projects
Commit 4180ba2b authored by Morris Jette's avatar Morris Jette
Browse files

Cosmetic changes, improved logging in reservation logic

parent 70e8407f
No related branches found
No related tags found
No related merge requests found
...@@ -3170,8 +3170,9 @@ fini: FREE_NULL_BITMAP(save_bitmap); ...@@ -3170,8 +3170,9 @@ fini: FREE_NULL_BITMAP(save_bitmap);
info("pick_idle_nodes getting %s from select cons_res", str); info("pick_idle_nodes getting %s from select cons_res", str);
if (*core_bitmap) { if (*core_bitmap) {
bit_fmt(str, (sizeof(str) - 1), *core_bitmap); bit_fmt(str, (sizeof(str) - 1), *core_bitmap);
info("pick_idle_nodes getting coremap %s " info("pick_idle_nodes getting core_cnt:%d coremap:%s "
"from select/cons_res", str); "from select/cons_res",
resv_desc_ptr->core_cnt, str);
} }
} }
#endif #endif
...@@ -3546,7 +3547,7 @@ extern int job_test_resv(struct job_record *job_ptr, time_t *when, ...@@ -3546,7 +3547,7 @@ extern int job_test_resv(struct job_record *job_ptr, time_t *when,
list_iterator_destroy(iter); list_iterator_destroy(iter);
if (slurm_get_debug_flags() & DEBUG_FLAG_RESERVATION) { if (slurm_get_debug_flags() & DEBUG_FLAG_RESERVATION) {
char *nodes=bitmap2node_name(*node_bitmap); char *nodes = bitmap2node_name(*node_bitmap);
info("job_test_resv: job:%u reservation:%s nodes:%s", info("job_test_resv: job:%u reservation:%s nodes:%s",
job_ptr->job_id, nodes, job_ptr->resv_name); job_ptr->job_id, nodes, job_ptr->resv_name);
xfree(nodes); xfree(nodes);
......
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