mirror of
https://github.com/prometheus/node_exporter
synced 2025-04-01 23:08:12 +00: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 (
|
const (
|
||||||
secondsPerTick = 1.0 / 1000.0
|
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
|
unixSectorSize = 512.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user