mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Merge remote-tracking branch 'origin/4.9' into 4.10
This commit is contained in:
		
						commit
						32e96abea9
					
				| @ -3224,6 +3224,9 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv | |||||||
|             long bytes_rd = 0; |             long bytes_rd = 0; | ||||||
|             long bytes_wr = 0; |             long bytes_wr = 0; | ||||||
|             for (final DiskDef disk : disks) { |             for (final DiskDef disk : disks) { | ||||||
|  |                 if (disk.getDeviceType() == DeviceType.CDROM || disk.getDeviceType() == DeviceType.FLOPPY) { | ||||||
|  |                     continue; | ||||||
|  |                 } | ||||||
|                 final DomainBlockStats blockStats = dm.blockStats(disk.getDiskLabel()); |                 final DomainBlockStats blockStats = dm.blockStats(disk.getDiskLabel()); | ||||||
|                 io_rd += blockStats.rd_req; |                 io_rd += blockStats.rd_req; | ||||||
|                 io_wr += blockStats.wr_req; |                 io_wr += blockStats.wr_req; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user