Skip to content

Commit 402a009

Browse files
W. Andrew Dentondiscordianfish
authored andcommitted
Add a reference to the Linux kernel's documentation for block stat.
Signed-off-by: W. Andrew Denton <[email protected]>
1 parent 84ce3a0 commit 402a009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

collector/diskstats_linux.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ import (
3030
const (
3131
secondsPerTick = 1.0 / 1000.0
3232

33-
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size.
33+
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size."
34+
// See also https://www.kernel.org/doc/Documentation/block/stat.txt
3435
unixSectorSize = 512.0
3536
)
3637

0 commit comments

Comments
 (0)