mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.10'
This commit is contained in:
commit
445dbe7c53
|
|
@ -3224,6 +3224,9 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
long bytes_rd = 0;
|
||||
long bytes_wr = 0;
|
||||
for (final DiskDef disk : disks) {
|
||||
if (disk.getDeviceType() == DeviceType.CDROM || disk.getDeviceType() == DeviceType.FLOPPY) {
|
||||
continue;
|
||||
}
|
||||
final DomainBlockStats blockStats = dm.blockStats(disk.getDiskLabel());
|
||||
io_rd += blockStats.rd_req;
|
||||
io_wr += blockStats.wr_req;
|
||||
|
|
|
|||
Loading…
Reference in New Issue