Skip to content

Commit b47e88a

Browse files
authored
Merge pull request #1254 from scop/fix/freebsd-iocounters-disk-serial
[disk][freebsd] include serial number in IOCounters
2 parents 9a667f1 + ae0364e commit b47e88a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

disk/disk_freebsd.go

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOC
137137
IoTime: uint64(d.Busy_time.Compute() * 1000),
138138
Name: name,
139139
}
140+
ds.SerialNumber, _ = SerialNumberWithContext(ctx, name)
140141
ret[name] = ds
141142
}
142143

0 commit comments

Comments
 (0)