|
Lines 64-69
Link Here
|
| 64 |
#include "src/common/macros.h" |
64 |
#include "src/common/macros.h" |
| 65 |
#include "src/common/node_select.h" |
65 |
#include "src/common/node_select.h" |
| 66 |
#include "src/common/parse_time.h" |
66 |
#include "src/common/parse_time.h" |
|
|
67 |
#include "src/common/read_config.h" |
| 67 |
#include "src/common/slurm_accounting_storage.h" |
68 |
#include "src/common/slurm_accounting_storage.h" |
| 68 |
#include "src/common/slurm_protocol_api.h" |
69 |
#include "src/common/slurm_protocol_api.h" |
| 69 |
#include "src/common/xmalloc.h" |
70 |
#include "src/common/xmalloc.h" |
|
Lines 562-567
static int _attempt_backfill(void)
Link Here
|
| 562 |
uint16_t *njobs = NULL; |
563 |
uint16_t *njobs = NULL; |
| 563 |
bool already_counted; |
564 |
bool already_counted; |
| 564 |
uint32_t reject_array_job_id = 0; |
565 |
uint32_t reject_array_job_id = 0; |
|
|
566 |
time_t config_update = slurmctld_conf.last_update; |
| 565 |
|
567 |
|
| 566 |
bf_last_yields = 0; |
568 |
bf_last_yields = 0; |
| 567 |
#ifdef HAVE_CRAY |
569 |
#ifdef HAVE_CRAY |
|
Lines 646-652
static int _attempt_backfill(void)
Link Here
|
| 646 |
"after testing %d jobs, %s", |
648 |
"after testing %d jobs, %s", |
| 647 |
job_test_count, TIME_STR); |
649 |
job_test_count, TIME_STR); |
| 648 |
} |
650 |
} |
| 649 |
if (_yield_locks(yield_sleep) && !backfill_continue) { |
651 |
if ((_yield_locks(yield_sleep) && !backfill_continue) || |
|
|
652 |
(slurmctld_conf.last_update != config_update)) { |
| 650 |
if (debug_flags & DEBUG_FLAG_BACKFILL) { |
653 |
if (debug_flags & DEBUG_FLAG_BACKFILL) { |
| 651 |
info("backfill: system state changed, " |
654 |
info("backfill: system state changed, " |
| 652 |
"breaking out after testing %d " |
655 |
"breaking out after testing %d " |
|
Lines 817-823
static int _attempt_backfill(void)
Link Here
|
| 817 |
"after testing %d jobs, %s", |
820 |
"after testing %d jobs, %s", |
| 818 |
job_test_count, TIME_STR); |
821 |
job_test_count, TIME_STR); |
| 819 |
} |
822 |
} |
| 820 |
if (_yield_locks(yield_sleep) && !backfill_continue) { |
823 |
if ((_yield_locks(yield_sleep) && !backfill_continue) || |
|
|
824 |
(slurmctld_conf.last_update != config_update)) { |
| 821 |
if (debug_flags & DEBUG_FLAG_BACKFILL) { |
825 |
if (debug_flags & DEBUG_FLAG_BACKFILL) { |
| 822 |
info("backfill: system state changed, " |
826 |
info("backfill: system state changed, " |
| 823 |
"breaking out after testing %d " |
827 |
"breaking out after testing %d " |
| 824 |
- |
|
|