Revision 1f7c8208 lib/storage/bdev.py
b/lib/storage/bdev.py | ||
---|---|---|
1832 | 1832 |
constants.LD_BLOCKDEV: PersistentBlockDevice, |
1833 | 1833 |
constants.LD_RBD: RADOSBlockDevice, |
1834 | 1834 |
constants.LD_EXT: ExtStorageDevice, |
1835 |
constants.LD_FILE: FileStorage, |
|
1835 | 1836 |
} |
1836 | 1837 |
|
1837 |
if constants.ENABLE_FILE_STORAGE or constants.ENABLE_SHARED_FILE_STORAGE: |
|
1838 |
DEV_MAP[constants.LD_FILE] = FileStorage |
|
1839 |
|
|
1840 | 1838 |
|
1841 | 1839 |
def _VerifyDiskType(dev_type): |
1842 | 1840 |
if dev_type not in DEV_MAP: |
Also available in: Unified diff