disks with major 253 do not have partitions #258
Costa Tsaousis (ktsaou) committed
Apr 18, 2016 at 10:46 UTC
179c42201e2f955bf4371d1e25a5d12b9a52df74
1 file changed
+1
-1
src/proc_diskstats.c
+1
-1
@@ -123,6 +123,7 @@ int do_proc_diskstats(int update_every, unsigned long long dt) {
123
case 199: // veritas
124
case 201: // veritas
125
case 251: // dm
126
+ case 253: // virtio
127
def_enabled = enable_new_disks;
128
break;
129
@@ -195,7 +196,6 @@ int do_proc_diskstats(int update_every, unsigned long long dt) {
196
case 135: // scsi
197
case 153: // raid
198
case 202: // xen
198
- case 253: // virtio
199
case 256: // flash
200
case 257: // flash
201
case 259: // nvme0n1 issue #119