mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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.
This commit is contained in:
parent
1441ed1ea7
commit
ab1a6912a9
@ -201,6 +201,9 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
|
|||||||
@Column(name = "iops_write_rate")
|
@Column(name = "iops_write_rate")
|
||||||
Long iopsWriteRate;
|
Long iopsWriteRate;
|
||||||
|
|
||||||
|
@Column(name = "cache_mode")
|
||||||
|
String cacheMode;
|
||||||
|
|
||||||
@Column(name = "pool_id")
|
@Column(name = "pool_id")
|
||||||
private long poolId;
|
private long poolId;
|
||||||
|
|
||||||
@ -492,6 +495,10 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
|
|||||||
return iopsWriteRate;
|
return iopsWriteRate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getCacheMode() {
|
||||||
|
return cacheMode;
|
||||||
|
}
|
||||||
|
|
||||||
public long getPoolId() {
|
public long getPoolId() {
|
||||||
return poolId;
|
return poolId;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user