pub struct LinuxBlockIoBuilder { /* private fields */ }Expand description
Builder for LinuxBlockIo.
Implementations§
Source§impl LinuxBlockIoBuilder
impl LinuxBlockIoBuilder
Sourcepub fn leaf_weight<VALUE: Into<u16>>(self, value: VALUE) -> Self
pub fn leaf_weight<VALUE: Into<u16>>(self, value: VALUE) -> Self
Specifies tasks’ weight in the given cgroup while competing with the cgroup’s child cgroups, CFQ scheduler only.
Sourcepub fn weight_device<VALUE: Into<Vec<LinuxWeightDevice>>>(
self,
value: VALUE,
) -> Self
pub fn weight_device<VALUE: Into<Vec<LinuxWeightDevice>>>( self, value: VALUE, ) -> Self
Weight per cgroup per device, can override BlkioWeight.
Sourcepub fn throttle_read_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
self,
value: VALUE,
) -> Self
pub fn throttle_read_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>( self, value: VALUE, ) -> Self
IO read rate limit per cgroup per device, bytes per second.
Sourcepub fn throttle_write_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
self,
value: VALUE,
) -> Self
pub fn throttle_write_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>( self, value: VALUE, ) -> Self
IO write rate limit per cgroup per device, bytes per second.
Sourcepub fn throttle_read_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
self,
value: VALUE,
) -> Self
pub fn throttle_read_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>( self, value: VALUE, ) -> Self
IO read rate limit per cgroup per device, IO per second.
Sourcepub fn throttle_write_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
self,
value: VALUE,
) -> Self
pub fn throttle_write_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>( self, value: VALUE, ) -> Self
IO write rate limit per cgroup per device, IO per second.