cinder.volume.throttling module

cinder.volume.throttling module

Volume copy throttling helpers.

class BlkioCgroup(bps_limit, cgroup_name)

Bases: Throttle

Throttle disk I/O bandwidth using blkio cgroups.

subcommand(srcpath, dstpath)

Sub-command that reads from srcpath and writes to dstpath.

Throttle disk I/O bandwidth used by a sub-command, such as ‘dd’, that reads from srcpath and writes to dstpath. The sub-command must be executed with the generated prefix command.

class Throttle(prefix=None)

Bases: object

Base class for throttling disk I/O bandwidth

DEFAULT = None
static get_default()
static set_default(throttle)
subcommand(srcpath, dstpath)

Sub-command that reads from srcpath and writes to dstpath.

Throttle disk I/O bandwidth used by a sub-command, such as ‘dd’, that reads from srcpath and writes to dstpath. The sub-command must be executed with the generated prefix command.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.