Fixes to drone_manager behavior.

Fixed bug where a drone that a user is not allowed to access may get a
job scheduled on it anyways if all drones are over capacity.

Modified capacity computation to handle drones with the same ratio of
running-to-max processes, but different total max processes.

Signed-off-by: James Ren <jamesren@google.com>


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