Re: [PATCH 4/8] domain: introduce xml elements for throttle blkio cgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/2013 08:21 PM, Daniel P. Berrange wrote:
> On Wed, Dec 11, 2013 at 04:29:49PM +0800, Gao feng wrote:
>> This patch introduces new xml elements under <blkiotune>,
>> we use these new elements to setup the throttle blkio
>> cgroup for domain. The new blkiotune node looks like this:
>>
>> <blkiotune>
>>   <device>
>>     <path>/path/to/block</path>
>>     <weight>1000</weight>
>>     <read_iops_sec>10000</read_iops_sec>
>>     <write_iops_sec>10000</write_iops_sec>
>>     <read_bytes_sec>1000000</read_bytes_sec>
>>     <write_bytes_sec>1000000</write_bytes_sec>
>>   </device>
>> </blkiotune>
>>
>> Signed-off-by: Guan Qiang <hzguanqiang@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
>> ---
>>  docs/schemas/domaincommon.rng | 28 ++++++++++++--
>>  src/conf/domain_conf.c        | 85 +++++++++++++++++++++++++++++++++++++------
>>  src/conf/domain_conf.h        |  4 ++
>>  3 files changed, 103 insertions(+), 14 deletions(-)
> 
> ACK
> 
Pushed, thanks!

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]