mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user