Re: [PATCH 5/8] blkio: Setting throttle blkio cgroup for domain

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

 



On Wed, Dec 11, 2013 at 04:29:50PM +0800, Gao feng wrote:
> This patch introduces virCgroupSetBlkioDeviceReadIops,
> virCgroupSetBlkioDeviceWriteIops,
> virCgroupSetBlkioDeviceReadBps and
> virCgroupSetBlkioDeviceWriteBps,
> 
> we can use these interfaces to set up throttle
> blkio cgroup for domain.
> 
> This patch also adds the new throttle blkio cgroup
> elements to the test xml.
> 
> Signed-off-by: Guan Qiang <hzguanqiang@xxxxxxxxxxxxxxxx>
> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
> ---
>  src/libvirt_private.syms                           |   4 +
>  src/lxc/lxc_cgroup.c                               |  27 ++-
>  src/qemu/qemu_cgroup.c                             |  27 ++-
>  src/util/vircgroup.c                               | 224 ++++++++++++++++++++-
>  src/util/vircgroup.h                               |  16 ++
>  .../qemuxml2argv-blkiotune-device.xml              |   8 +
>  6 files changed, 295 insertions(+), 11 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]