Implement disk grow at LU level
authorIustin Pop <iustin@google.com>
Mon, 16 Jun 2008 16:25:19 +0000 (16:25 +0000)
committerIustin Pop <iustin@google.com>
Mon, 16 Jun 2008 16:25:19 +0000 (16:25 +0000)
commit0d796726a7f42595a22d5e23b2979576d0205a40
treec8dcc3e4611ce0d4910819d2430c28c73832d3d0
parent4bffa831d971746b6c2939f5972e0d6d7819d81a
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