Revision 8106dd64 lib/objects.py
b/lib/objects.py | ||
---|---|---|
586 | 586 |
""" |
587 | 587 |
if self.dev_type in [constants.DT_PLAIN, constants.DT_FILE, |
588 | 588 |
constants.DT_BLOCK, constants.DT_RBD, |
589 |
constants.DT_EXT, constants.DT_SHARED_FILE]: |
|
589 |
constants.DT_EXT, constants.DT_SHARED_FILE, |
|
590 |
constants.DT_GLUSTER]: |
|
590 | 591 |
result = [node_uuid] |
591 | 592 |
elif self.dev_type in constants.DTS_DRBD: |
592 | 593 |
result = [self.logical_id[0], self.logical_id[1]] |
... | ... | |
663 | 664 |
""" |
664 | 665 |
if self.dev_type in (constants.DT_PLAIN, constants.DT_FILE, |
665 | 666 |
constants.DT_RBD, constants.DT_EXT, |
666 |
constants.DT_SHARED_FILE): |
|
667 |
constants.DT_SHARED_FILE, constants.DT_GLUSTER):
|
|
667 | 668 |
self.size += amount |
668 | 669 |
elif self.dev_type == constants.DT_DRBD8: |
669 | 670 |
if self.children: |
Also available in: Unified diff