Only look at enabled drones when computing the max # of processes that can be run. Previously, we would include disabled drones' capacity, so the scheduler would think it had more available capacity than it actually did and would crash when it went to choose a drone to run. Also improve the error message in that failure path to only show the drones that were actually considered.
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2820 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed