[libvirt] [PATCH 6/8] virsh: add setting throttle blkio cgroup option to blkiotune
Gao feng
gaofeng at cn.fujitsu.com
Mon Jan 20 03:30:18 UTC 2014
On 12/12/2013 08:26 PM, Daniel P. Berrange wrote:
> On Wed, Dec 11, 2013 at 04:29:51PM +0800, Gao feng wrote:
>> With this patch, user can setup the throttle blkio cgorup
>> for domain through the virsh cmd, such as:
>>
>> virsh blkiotune domain1 --device-read-bytes-sec /dev/sda1,1000000,/dev/sda2,2000000
>> --device-write-bytes-sec /dev/sda1,1000000 --device-read-iops-sec /dev/sda1,10000
>> --device-write-iops-sec /dev/sda1,10000,/dev/sda2,0
>>
>> This patch also add manpage for these new options.
>>
>> Signed-off-by: Guan Qiang <hzguanqiang at corp.netease.com>
>> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
>> ---
>> include/libvirt/libvirt.h.in | 45 +++++++++++++++++++++++++++++++
>> tools/virsh-domain.c | 64 ++++++++++++++++++++++++++++++++++++++++++++
>> tools/virsh.pod | 36 +++++++++++++++++++++++--
>> 3 files changed, 143 insertions(+), 2 deletions(-)
>
> ACK
>
Pushed, thanks!
More information about the libvir-list
mailing list