Skip to content

Commit 9836ccd

Browse files
committed
CLOUDSTACK-8313: Allow overprovisioning of local storage pools
1 parent 2fad87d commit 9836ccd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/com/cloud/storage/StorageManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ public boolean storagePoolHasEnoughSpace(List<Volume> volumes, StoragePool pool)
16001600
}
16011601

16021602
long totalOverProvCapacity;
1603-
if (pool.getPoolType() == StoragePoolType.NetworkFilesystem || pool.getPoolType() == StoragePoolType.VMFS) {
1603+
if (pool.getPoolType() == StoragePoolType.NetworkFilesystem || pool.getPoolType() == StoragePoolType.VMFS || pool.getPoolType() == StoragePoolType.Filesystem) {
16041604
BigDecimal overProvFactor = getStorageOverProvisioningFactor(pool.getId());
16051605
totalOverProvCapacity = overProvFactor.multiply(new BigDecimal(pool.getCapacityBytes())).longValue();
16061606
s_logger.debug("Found storage pool " + poolVO.getName() + " of type " + pool.getPoolType().toString() + " with overprovisioning factor "

0 commit comments

Comments
 (0)