cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [41/50] [abbrv] git commit: updated refs/heads/master to 1c408de
Date Thu, 07 May 2015 14:05:19 GMT
CLOUDSTACK-1302: Make sure the disk cache mode is passed to the KVM Agent

The StartCommand did not contain the proper cache mode due to VolumeJoinVO
not containing the cache_mode field.


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

Branch: refs/heads/master
Commit: 329e94828d8ab7b5cdfbec5e245a0880043e98fa
Parents: 23bde8e
Author: Wido den Hollander <wido@widodh.nl>
Authored: Thu Apr 30 17:19:30 2015 +0200
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Mon May 4 10:23:00 2015 +0200

----------------------------------------------------------------------
 server/src/com/cloud/api/query/vo/VolumeJoinVO.java | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/329e9482/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/vo/VolumeJoinVO.java b/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
index 62384c1..d9c482c 100644
--- a/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
+++ b/server/src/com/cloud/api/query/vo/VolumeJoinVO.java
@@ -201,6 +201,9 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity
{
     @Column(name = "iops_write_rate")
     Long iopsWriteRate;
 
+    @Column(name = "cache_mode")
+    String cacheMode;
+
     @Column(name = "pool_id")
     private long poolId;
 
@@ -492,6 +495,10 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity
{
         return iopsWriteRate;
     }
 
+    public String getCacheMode() {
+        return cacheMode;
+    }
+
     public long getPoolId() {
         return poolId;
     }


Mime
View raw message