<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000000; FONT-SIZE: 10.5pt; 36719: ; 38597: ; 40657: 
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.17514"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV>On 2013-12-02 14:47 , <A href="mailto:gaofeng@cn.fujitsu.com">Gao 
feng</A> wrote:</DIV>
<DIV>
<TABLE width="100%">
  <TBODY>
  <TR>
    <TD width="100%">
      <BLOCKQUOTE 
      style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
        <DIV>Right now, libvirt only supports the cfq based blkio cgorup,</DIV>
        <DIV>this means if the block devices doesn't use cfq scheduler, 
the</DIV>
        <DIV>blkio cgroup will loss effect.</DIV>
        <DIV> </DIV>
        <DIV>This patchset adds the throttle blkio cgroup support for 
        libvirt,</DIV>
        <DIV>intoduces four elements for domain configuration and extend 
        the</DIV>
        <DIV>virsh command blkiotune.</DIV></BLOCKQUOTE>
      <DIV> </DIV>
      <DIV>intoduces/introduces/s</DIV>
      <DIV> </DIV>
      <BLOCKQUOTE 
      style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
        <DIV>This patchset is a new version of Guan Qiang's patchset</DIV>
        <DIV>://www.redhat.com/archives/libvir-list/2013-October/msg01066.html</DIV>
        <DIV> </DIV>
        <DIV>Change form Guan Qiang's patchset:</DIV>
        <DIV>1, split to 8 patches, make logic more clear</DIV>
        <DIV>2, change the type of read/write iops form unsigned long long to 
        unsigned int,</DIV>
        <DIV>   trying to set read/write iops to the value which 
        bigger than max number of</DIV>
        <DIV>   unsigned int will fail.</DIV>
        <DIV>3, fix some logic shortage.</DIV>
        <DIV> </DIV>
        <DIV>Gao feng (9):</DIV>
        <DIV>  rename virDomainBlkioDeviceWeightParseXML to</DIV>
        <DIV>    virDomainBlkioDeviceParseXML</DIV>
        <DIV>  rename virBlkioDeviceWeightArrayClear to 
        virBlkioDeviceArrayClear</DIV>
        <DIV>  rename virBlkioDeviceWeightPtr to virBlkioDevicePtr</DIV>
        <DIV>  domain: introduce xml elements for throttle blkio 
        cgroup</DIV>
        <DIV>  blkio: Setting throttle blkio cgroup for domain</DIV>
        <DIV>  qemu: allow to setup throttle blkio cgroup through 
        virsh</DIV>
        <DIV>  virsh: add virsh manual for setting throttle blkio 
        cgroup</DIV>
        <DIV>  lxc: allow to setup throttle blkio cgroup through 
virsh</DIV>
        <DIV>  qemu: add new throttle blkio cgroup elements to the test 
        xml</DIV>
        <DIV> </DIV>
        <DIV>docs/schemas/domaincommon.rng                      
        |  28 +-</DIV>
        <DIV>include/libvirt/libvirt.h.in                       
        |  45 ++</DIV>
        <DIV>src/conf/domain_conf.c                             
        | 113 +++-</DIV>
        <DIV>src/conf/domain_conf.h                             
        |  16 +-</DIV>
        <DIV>src/libvirt_private.syms                           
        |   5 +-</DIV>
        <DIV>src/lxc/lxc_cgroup.c                               
        |  12 +-</DIV>
        <DIV>src/lxc/lxc_driver.c                               
        | 649 ++++++++++++++++++++-</DIV>
        <DIV>src/qemu/qemu_cgroup.c                             
        |  13 +-</DIV>
        <DIV>src/qemu/qemu_driver.c                             
        | 432 ++++++++++++--</DIV>
        <DIV>src/util/vircgroup.c                               
        | 170 +++++-</DIV>
        <DIV>src/util/vircgroup.h                               
        |  18 +</DIV>
        <DIV>.../qemuxml2argv-blkiotune-device.xml              
        |   8 +</DIV>
        <DIV>tools/virsh-domain.c                               
        |  64 ++</DIV>
        <DIV>tools/virsh.pod                                    
        |  36 +-</DIV>
        <DIV>14 files changed, 1485 insertions(+), 124 deletions(-)</DIV>
        <DIV> </DIV>
        <DIV>-- </DIV>
        <DIV>1.8.3.1</DIV>
        <DIV> </DIV>
        <DIV>--</DIV>
        <DIV>libvir-list mailing list</DIV>
        <DIV>libvir-list@redhat.com</DIV>
        <DIV>https://www.redhat.com/mailman/listinfo/libvir-list</DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV>
<DIV> </DIV>
<DIV><SPAN>
<DIV style="FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV>------------------     <BR>Best 
regards!<BR>GuanQiang</DIV></DIV></SPAN></DIV>
<DIV>10:46:48</DIV></BODY></HTML>