htools cluster score takes spindles into account
authorBernardo Dal Seno <bdalseno@google.com>
Thu, 6 Jun 2013 10:35:28 +0000 (12:35 +0200)
committerBernardo Dal Seno <bdalseno@google.com>
Fri, 7 Jun 2013 13:11:13 +0000 (15:11 +0200)
commit825f8cee114e7e6b001865d54dd1f5bf96e48635
tree6f381705b73c556caab694c5bac9ba6727a21328
parent74ff6aedd475a607f821ee70c8be03392481b952
htools cluster score takes spindles into account

When exclusive storage is enabled, spindles are used instead of disk space
to compute the cluster score.

Comments and variable names in computePDsk has been changed to match the
actual code.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/HTools/Node.hs
test/data/htools/hail-reloc-drbd.json
test/hs/Test/Ganeti/HTools/Node.hs