Merge pull request #1254 from scop/fix/freebsd-iocounters-disk-serial
[disk][freebsd] include serial number in IOCounters
This commit is contained in:
commit
b47e88a0c4
|
@ -137,6 +137,7 @@ func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOC
|
|||
IoTime: uint64(d.Busy_time.Compute() * 1000),
|
||||
Name: name,
|
||||
}
|
||||
ds.SerialNumber, _ = SerialNumberWithContext(ctx, name)
|
||||
ret[name] = ds
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue