提交 9001662b 编写于 作者: J John Ferlan

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: NJohn Ferlan <jferlan@redhat.com>
上级 c80e6b96
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册