Skip to content
Snippets Groups Projects
Commit 3ec7382a authored by Alejandro Sanchez's avatar Alejandro Sanchez Committed by Morris Jette
Browse files

Fix hetjob component incorrect Priority state reason at allocation time.

_top_priority() is used to determine at job allocation time (called from
job_allocate()) if any other job has a higher priority than the specified
job being allocated. If so, it sets the job state_reason to WAIT_PRIORITY.
This patch skips the priority comparison if the two jobs being compared
are pack job components from the same heterogeneous job.

Bug 4400.
parent 42150e8e
No related branches found
No related tags found
Loading
Loading
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