Revision be9150ea lib/storage/drbd.py
b/lib/storage/drbd.py | ||
---|---|---|
950 | 950 |
""" |
951 | 951 |
raise errors.ProgrammerError("Can't rename a drbd device") |
952 | 952 |
|
953 |
def Grow(self, amount, dryrun, backingstore): |
|
953 |
def Grow(self, amount, dryrun, backingstore, excl_stor):
|
|
954 | 954 |
"""Resize the DRBD device and its backing storage. |
955 | 955 |
|
956 | 956 |
See L{BlockDev.Grow} for parameter description. |
... | ... | |
960 | 960 |
base.ThrowError("drbd%d: Grow called while not attached", self._aminor) |
961 | 961 |
if len(self._children) != 2 or None in self._children: |
962 | 962 |
base.ThrowError("drbd%d: cannot grow diskless device", self.minor) |
963 |
self._children[0].Grow(amount, dryrun, backingstore) |
|
963 |
self._children[0].Grow(amount, dryrun, backingstore, excl_stor)
|
|
964 | 964 |
if dryrun or backingstore: |
965 | 965 |
# DRBD does not support dry-run mode and is not backing storage, |
966 | 966 |
# so we'll return here |
Also available in: Unified diff