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

sched/backfill: Add more logging

parent 175df013
No related branches found
No related tags found
No related merge requests found
...@@ -710,7 +710,13 @@ static int _attempt_backfill(void) ...@@ -710,7 +710,13 @@ static int _attempt_backfill(void)
njobs = xmalloc(BF_MAX_USERS * sizeof(uint16_t)); njobs = xmalloc(BF_MAX_USERS * sizeof(uint16_t));
} }
sort_job_queue(job_queue); sort_job_queue(job_queue);
while ((job_queue_rec = (job_queue_rec_t *) list_pop(job_queue))) { while (1) {
job_queue_rec = (job_queue_rec_t *) list_pop(job_queue);
if (!job_queue_rec) {
if (debug_flags & DEBUG_FLAG_BACKFILL)
info("backfill: reached end of job queue");
break;
}
if (slurmctld_config.shutdown_time) if (slurmctld_config.shutdown_time)
break; break;
if (((defer_rpc_cnt > 0) && if (((defer_rpc_cnt > 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