Skip to content

Commit 329e948

Browse files
committed
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.
1 parent 23bde8e commit 329e948

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎server/src/com/cloud/api/query/vo/VolumeJoinVO.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
201201
@Column(name = "iops_write_rate")
202202
Long iopsWriteRate;
203203

204+
@Column(name = "cache_mode")
205+
String cacheMode;
206+
204207
@Column(name = "pool_id")
205208
private long poolId;
206209

@@ -492,6 +495,10 @@ public Long getIopsWriteRate() {
492495
return iopsWriteRate;
493496
}
494497

498+
public String getCacheMode() {
499+
return cacheMode;
500+
}
501+
495502
public long getPoolId() {
496503
return poolId;
497504
}

0 commit comments

Comments
 (0)