Harshavardhana 6a00eb10bf
fix: allow set drive count of proper divisible values (#9101)
Currently the code assumed some orthogonal requirements
which led situations where when we have a setup where
we have let's say for example 168 drives, the final
set_drive_count chosen was 14. Indeed 168 drives are
divisible by 12 but this wasn't allowed due to an
unexpected requirement to have 12 to be a perfect modulo
of 14 which is not possible. This assumption was incorrect.

This PR fixes this old assumption properly, also adds
few tests and some negative tests as well. Improvements
are seen in error messages as well.
2020-03-08 13:30:25 -07:00
..
2020-01-31 08:29:22 +05:30
2019-12-12 10:01:15 -08:00
2020-01-13 13:09:10 -08:00
2020-01-31 08:29:22 +05:30
2020-03-04 06:58:12 -08:00
2019-09-10 04:42:29 +05:30