-refactor Job.run in monitor_db, one of the most important and most confusing methods in the scheduler.  it's now broken into separate synchronous and asynchronous paths with common methods extracted.
-remove a bunch of dead code from the Job class
-remove the one actual usage of the synch_count fields.  We don't really support this yet, so there's no reason to pretend we do.
-extract some code from VerifySynchronousTask into HostQueueEntry.on_pending().  it's better here and will be necessary in a near-future change (to implement skip_verify right).
-add simple test for job.run() to scheduler unittest.



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