You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/05/04 10:23:19 UTC

git commit: updated refs/heads/4.5 to 329e948

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 23bde8ea7 -> 329e94828


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/4.5
Commit: 329e94828d8ab7b5cdfbec5e245a0880043e98fa
Parents: 23bde8e
Author: Wido den Hollander <wi...@widodh.nl>
Authored: Thu Apr 30 17:19:30 2015 +0200
Committer: Wido den Hollander <wi...@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;
     }