Skip to content
Snippets Groups Projects
Commit 63791053 authored by Danny Auble's avatar Danny Auble
Browse files

Fixed issue with QOS preemption when adding new QOS.

parent 6aead2dd
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,8 @@ documents those changes that are of interest to users and admins.
modified to permit the partition limit to be exceeded. Patch from Bill
Brophy, Bull.
-- BLUEGENE - Fixed preemption issue.
-- sacct search for jobs using filtering was ignoring wckey filter.
-- sacct search for jobs using filtering was ignoring wckey filter.
-- Fixed issue with QOS preemption when adding new QOS.
* Changes in SLURM 2.3.2
========================
......
......@@ -92,6 +92,8 @@ static int _setup_qos_limits(slurmdb_qos_rec_t *qos,
qos->description = xstrdup("");
if (qos->flags & QOS_FLAG_NOTSET)
qos->flags = 0;
if (qos->grace_time == NO_VAL)
qos->grace_time = 0;
if (qos->grp_cpu_mins == (uint64_t)NO_VAL)
qos->grp_cpu_mins = (uint64_t)INFINITE;
if (qos->grp_cpu_run_mins == (uint64_t)NO_VAL)
......@@ -1115,8 +1117,6 @@ empty:
if (row[QOS_REQ_GRACE])
qos->grace_time = slurm_atoul(row[QOS_REQ_GRACE]);
else
qos->grace_time = (uint32_t)NO_VAL;
if (row[QOS_REQ_GCM])
qos->grp_cpu_mins = slurm_atoull(row[QOS_REQ_GCM]);
......
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