mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
include: Add new "group_name" definition for iotune throttling
Add the new field to support sharing I/O throttling quota between multiple drives. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
c80e6b96e5
commit
9001662b9f
@ -2488,6 +2488,13 @@ int virDomainBlockCommit(virDomainPtr dom, const char *disk, const char *base,
|
|||||||
*/
|
*/
|
||||||
# define VIR_DOMAIN_BLOCK_IOTUNE_SIZE_IOPS_SEC "size_iops_sec"
|
# define VIR_DOMAIN_BLOCK_IOTUNE_SIZE_IOPS_SEC "size_iops_sec"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAME:
|
||||||
|
* Macro for the BlockIoTune tunable weight: it represents a group name to
|
||||||
|
* allow sharing of I/O throttling quota between multiple drives, as a string.
|
||||||
|
*/
|
||||||
|
# define VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAME "group_name"
|
||||||
|
|
||||||
int
|
int
|
||||||
virDomainSetBlockIoTune(virDomainPtr dom,
|
virDomainSetBlockIoTune(virDomainPtr dom,
|
||||||
const char *disk,
|
const char *disk,
|
||||||
|
Loading…
Reference in New Issue
Block a user