Implement disk grow at LU level
authorIustin Pop <iustin@google.com>
Tue, 17 Jun 2008 06:50:51 +0000 (06:50 +0000)
committerIustin Pop <iustin@google.com>
Tue, 17 Jun 2008 06:50:51 +0000 (06:50 +0000)
commit8729e0d78bc231321adbcd80d8782546f391a67f
tree19713817e2bfa08a28b8901559f5a40bbabb4582
parentacec9d51f4aea4b4571fcee477bea935487b8b83
Implement disk grow at LU level

This patch adds a new opcode and LU for growing an instance's disk.

The opcode allows growing only one disk at time, and will throw an error
if the operation fails midway (e.g. on the primary node after it has
been increased on the secondary node). As such, it might actually leave
different sized LVs on different nodes, but this will not create
problems.

Reviewed-by: imsnah
lib/cmdlib.py
lib/mcpu.py
lib/opcodes.py