mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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"
|
||||
|
||||
/**
|
||||
* 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
|
||||
virDomainSetBlockIoTune(virDomainPtr dom,
|
||||
const char *disk,
|
||||
|
Loading…
Reference in New Issue
Block a user