const ( // ConfigModuleName is the configuration section of blockio class definitions ConfigModuleName = "blockio" )
This section is empty.
func SetContainerClass ¶
SetContainerClass assigns a to a blockio class. cntnrDir is the cgroup directory of the container without mountpoint and controller (blkio) directory.
type BlockDeviceInfo ¶
BlockDeviceInfo holds information on a block device to be configured. As users can specify block devices using wildcards ("/dev/disk/by-id/*SSD*") BlockDeviceInfo.Origin is maintained for traceability: why this block device is included in configuration. BlockDeviceInfo.DevNode contains resolved device node, like "/dev/sda".
Class represents a block I/O class, a class name together with its associated parameters, essentially a single key/value pair from staticOciBlockIO below. This type is only used for querying all (static) block I/O classes in a sorting- form.
type DevicesParameters ¶
DevicesParameters defines Block IO parameters for a set of devices.