package
0.0.0-20221121043126-298dde518304
Repository: https://github.com/nitrictech/minio.git
Documentation: pkg.go.dev

# Functions

AlignedBlock - pass through to directio implementation.
DisableDirectIO - disables directio mode.
FadviseDontNeed invalidates page-cache.
Fdatasync - fdatasync() is similar to fsync(), but does not flush modified metadata unless that metadata is needed in order to allow a subsequent data retrieval to be correctly handled.
GetAllDrivesIOStats returns IO stats of all drives found in the machine.
GetInfo returns total and free bytes available in a directory, e.g.
IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/".
OpenFileDirectIO - bypass kernel cache.
SameDisk reports whether di1 and di2 describe the same disk.

# Structs

DevID is the drive major and minor ids.
Info stat fs struct is container which holds following values Total - total size of the volume / disk Free - free size of the volume / disk Files - total inodes available Ffree - free inodes available FSType - file system type.
IOStats contains stats of a single drive.

# Type aliases

AllDrivesIOStats is map between drive devices and IO stats.