-change AFE abort code to always set to "Abort" status and never skip straight to "Aborted".  Doing so is prone to a race condition with the scheduler.  The scheduler handles a non-active "Abort" entries perfectly already, setting them immediately to "Aborted" without trying to kill anything.
-change scheduler timeout code to use AFE models abort code instead of it's own SQL version.  unfortunately we need need a fragment of SQL to do the timeout computation, which means no testability under SQLite.  I manually tested it.
-also extracted the scheduler periodic "cleanup" code into its own method.



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