The work I did previously to have jobs with limit violations
for a QoS be blocked instead of cancelled, needs a further patch
to allow the job to be unblocked if the limit is modified by the
admin.
Phil Eckert
LLNL
diff --git a/src/slurmctld/acct_policy.c b/src/slurmctld/acct_policy.c
index 5a4aca2..08b78d0 100644
--- a/src/slurmctld/acct_policy.c
+++ b/src/slurmctld/acct_policy.c
@@ -907,10 +907,7 @@ extern bool acct_policy_job_runnable_state(struct
job_record *job_ptr)
{
if ((job_ptr->state_reason == WAIT_ASSOC_JOB_LIMIT) ||
(job_ptr->state_reason == WAIT_ASSOC_RESOURCE_LIMIT) ||
- (job_ptr->state_reason == WAIT_ASSOC_TIME_LIMIT) ||
- (job_ptr->state_reason == WAIT_QOS_JOB_LIMIT) ||
- (job_ptr->state_reason == WAIT_QOS_RESOURCE_LIMIT) ||
- (job_ptr->state_reason == WAIT_QOS_TIME_LIMIT)) {
+ (job_ptr->state_reason == WAIT_ASSOC_TIME_LIMIT)) {
return false;
}