minio/internal/disk
Praveen raj Mani 30c2596512
Read drive IO stats from sysfs instead of procfs (#19131)
Currently, we read from `/proc/diskstats` which is found to be
un-reliable in k8s environments. We can read from `sysfs` instead.

Also, cache the latest drive io stats to find the diff and update
the metrics.
2024-02-26 11:34:50 -08:00
..
directio_darwin.go upgrade pkg and dperf to latest packages (#17448) 2023-06-17 07:31:36 -07:00
directio_unix.go upgrade pkg and dperf to latest packages (#17448) 2023-06-17 07:31:36 -07:00
directio_unsupported.go fix: linter errors in Windows specific code (#18276) 2023-10-18 11:08:15 -07:00
disk.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
disk_test.go fix: optimize DiskInfo() call avoid metrics when not needed (#17763) 2023-07-31 15:20:48 -07:00
disk_unix.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
fdatasync_linux.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
fdatasync_unix.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
fdatasync_unsupported.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
root_disk.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
stat_bsd.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_freebsd.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_linux.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_linux_32bit.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_linux_s390x.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_netbsd.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_openbsd.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_solaris.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_test.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
stat_windows.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
type_bsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
type_linux.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
type_windows.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00