mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Add a reference to the Linux kernel's documentation for block stat.
Signed-off-by: W. Andrew Denton <git@flying-snail.net>
This commit is contained in:
parent
84ce3a0103
commit
402a00932d
|
@ -30,7 +30,8 @@ import (
|
|||
const (
|
||||
secondsPerTick = 1.0 / 1000.0
|
||||
|
||||
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size.
|
||||
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size."
|
||||
// See also https://www.kernel.org/doc/Documentation/block/stat.txt
|
||||
unixSectorSize = 512.0
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue