From 402a00932d1044a4d34788e1fe512e1c8e914571 Mon Sep 17 00:00:00 2001 From: "W. Andrew Denton" Date: Thu, 10 Mar 2022 16:43:07 -0800 Subject: [PATCH] Add a reference to the Linux kernel's documentation for block stat. Signed-off-by: W. Andrew Denton --- collector/diskstats_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collector/diskstats_linux.go b/collector/diskstats_linux.go index 0981ff3a39..f0de40776b 100644 --- a/collector/diskstats_linux.go +++ b/collector/diskstats_linux.go @@ -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 )