Move the disk size computation to its own function
authorIustin Pop <iustin@google.com>
Tue, 15 Apr 2008 12:30:09 +0000 (12:30 +0000)
committerIustin Pop <iustin@google.com>
Tue, 15 Apr 2008 12:30:09 +0000 (12:30 +0000)
commit242c7d91c28bff5f5402027d376fd73060480852
treedc59ce145955db3bd4f580f2cb2930765319d88e
parent9b12eb03e8f0d8718b7ff51661e185f90d748a97
Move the disk size computation to its own function

This is currently hard-coded for the two drive case and will need to be
reworked for multi-disk support.

The patch is needed to support passing the total required size to the
iallocator interface.

Reviewed-by: ultrotter
lib/cmdlib.py