From f8ca74937769adaec7b432f2bdeb39319d0a3639 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 30 May 2017 09:30:30 -0600 Subject: [PATCH] Use job_state_qos_grp_limit for more full result from previous commits --- src/plugins/sched/backfill/backfill.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/sched/backfill/backfill.c b/src/plugins/sched/backfill/backfill.c index 43a9d606827..c9125190a0b 100644 --- a/src/plugins/sched/backfill/backfill.c +++ b/src/plugins/sched/backfill/backfill.c @@ -1774,10 +1774,8 @@ next_task: else job_ptr->start_time = now + 500; if (job_ptr->qos_blocking_ptr && - (job_ptr->state_reason >= - WAIT_QOS_GRP_CPU && - job_ptr->state_reason <= - WAIT_QOS_GRP_WALL)) { + job_state_qos_grp_limit( + job_ptr->state_reason)) { assoc_mgr_lock(&qos_read_lock); qos_ptr = job_ptr->qos_blocking_ptr; if (qos_ptr->blocked_until < -- GitLab