cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [1/2] git commit: updated refs/heads/CLOUDSTACK-1302 to 10c1deb
Date Thu, 30 Apr 2015 15:32:28 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/CLOUDSTACK-1302 [created] 10c1deb18


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/1bc8073a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1bc8073a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1bc8073a

Branch: refs/heads/CLOUDSTACK-1302
Commit: 1bc8073a0d1eca1b3cdaa8799f285849024ae5cc
Parents: 1441ed1
Author: Wido den Hollander <wido@widodh.nl>
Authored: Thu Apr 30 17:19:30 2015 +0200
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Thu Apr 30 17:22:25 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/1bc8073a/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