Re: [PATCH 6/8] virsh: add setting throttle blkio cgroup option to blkiotune

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

 



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@xxxxxxxxxxxxxxxx>
> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
> ---
>  include/libvirt/libvirt.h.in | 45 +++++++++++++++++++++++++++++++
>  tools/virsh-domain.c         | 64 ++++++++++++++++++++++++++++++++++++++++++++
>  tools/virsh.pod              | 36 +++++++++++++++++++++++--
>  3 files changed, 143 insertions(+), 2 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]