cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject git commit: updated refs/heads/CLOUDSTACK-8313 to a7eae53
Date Tue, 10 Mar 2015 13:46:56 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/CLOUDSTACK-8313 [created] a7eae533f


CLOUDSTACK-8313: Allow overprovisioning of local storage pools


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a7eae533
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a7eae533
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a7eae533

Branch: refs/heads/CLOUDSTACK-8313
Commit: a7eae533f62d6446075b3813814f91ccd60fe4cc
Parents: 9a38b2f
Author: Wido den Hollander <wido@widodh.nl>
Authored: Tue Mar 10 14:46:21 2015 +0100
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Tue Mar 10 14:46:21 2015 +0100

----------------------------------------------------------------------
 server/src/com/cloud/storage/StorageManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a7eae533/server/src/com/cloud/storage/StorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/StorageManagerImpl.java b/server/src/com/cloud/storage/StorageManagerImpl.java
index d72cc69..fafcdcd 100644
--- a/server/src/com/cloud/storage/StorageManagerImpl.java
+++ b/server/src/com/cloud/storage/StorageManagerImpl.java
@@ -1600,7 +1600,7 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager,
C
         }
 
         long totalOverProvCapacity;
-        if (pool.getPoolType() == StoragePoolType.NetworkFilesystem || pool.getPoolType()
== StoragePoolType.VMFS) {
+        if (pool.getPoolType() == StoragePoolType.NetworkFilesystem || pool.getPoolType()
== StoragePoolType.VMFS || pool.getPoolType() == StoragePoolType.Filesystem) {
             BigDecimal overProvFactor = getStorageOverProvisioningFactor(pool.getId());
             totalOverProvCapacity = overProvFactor.multiply(new BigDecimal(pool.getCapacityBytes())).longValue();
             s_logger.debug("Found storage pool " + poolVO.getName() + " of type " + pool.getPoolType().toString()
+ " with overprovisioning factor "


Mime
View raw message