* impose prioritization on SpecialTasks based on task type: Repair, then Cleanup, then Verify.  remove prioritization of STs with queue entry over those without.  this leads to more sane ordering of execution in certain unusual contexts -- the added functional test cases illustrate a few (in some cases, it's not just more sane, it eliminates bugs as well).
* block STs from running on hosts with active HQEs, unless the ST is linked to the HQE.  this is a good check in general but specifically prevents a bug where a requested reverify could run on a host in pending.  there's a functional test case for that too.
* block jobs from running on hosts with active agents, and let special tasks get scheduled before new jobs in each tick.  this is necessary for some cases after removing the above-mentioned prioritization of STs with HQEs.  otherwise, for example, a job could get scheduled before a previous post-job cleanup has run.  (new test cases cover this as well.)

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3890 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed