Skip to content

Commit b47b7df

Browse files
Slavka PelevaSlavka Peleva
authored andcommitted
mgmt: fix max IOPS when deploying root volume
1 parent 71f47d6 commit b47b7df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/datastore/driver/StorPoolPrimaryDataStoreDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ public void copyAsync(DataObject srcData, DataObject dstData, AsyncCompletionCal
895895
template = conn.getTemplateName();
896896
}
897897

898-
StorPoolVolumeDef volumeDef = new StorPoolVolumeDef(null, size, tags, parentName, null, template, null, null, null);
898+
StorPoolVolumeDef volumeDef = new StorPoolVolumeDef(null, size, tags, parentName, vinfo.getMaxIops(), template, null, null, null);
899899
resp = StorPoolUtil.volumeCreate(volumeDef, conn);
900900

901901
if (resp.getError() == null) {

0 commit comments

Comments
 (0)