From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOwi0-00088S-RC for qemu-devel@nongnu.org; Tue, 02 Sep 2014 18:37:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOwht-0006Fu-Db for qemu-devel@nongnu.org; Tue, 02 Sep 2014 18:37:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOwht-0006Fo-5s for qemu-devel@nongnu.org; Tue, 02 Sep 2014 18:37:45 -0400 Message-ID: <540646B4.6030704@redhat.com> Date: Tue, 02 Sep 2014 16:37:40 -0600 From: Eric Blake MIME-Version: 1.0 References: <1407939839-27483-1-git-send-email-benoit.canet@nodalink.com> <1407939839-27483-8-git-send-email-benoit.canet@nodalink.com> In-Reply-To: <1407939839-27483-8-git-send-email-benoit.canet@nodalink.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HPrJRUuBJpvwNa7gEfacSSkwEDFsgKeUO" Subject: Re: [Qemu-devel] [RFC V2 7/8] throttle: Add throttle group support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HPrJRUuBJpvwNa7gEfacSSkwEDFsgKeUO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/13/2014 08:23 AM, Beno=C3=AEt Canet wrote: > The throttle group support use a cooperative round robin scheduling alg= orithm. >=20 > The principle of the algorithm are simple: s/are/is/ > - Each BDS of the group is used as a token in a circular way. > - The active BDS compute if a wait must be done and arm the right timer= =2E s/compute/computes/ s/arm/arms/ > - If a wait must be done the token timer will be armed so the token wil= l become > the next active BDS. >=20 > Signed-off-by: Benoit Canet > --- > +++ b/qapi/block-core.json > @@ -886,6 +886,9 @@ > # > # @iops_size: #optional an I/O size in bytes (Since 1.7) > # > +# > +# @group: #optional throttle group name (Since 2.2) Extra blank comment line. Interface seems okay; I haven't looked closely at the code. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HPrJRUuBJpvwNa7gEfacSSkwEDFsgKeUO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUBka0AAoJEKeha0olJ0NqQMsH/jc7TXtifYoYuPgPw6hw9x2k Sanrrj7sfxThxJx5KXAAETnbRqXFlythH0+b1G3x2v0oy/I3goYAqFQNxUynP5jv idnh+ik/v7F7yb2iMbRBHVNL1RfeStSXvL3WhjlL56gfvYpuZYYUfZ9MKw458B3G F1J3C46UN/NH/SXwjc8JR+/XuwfLuzfFOgE7+tzGRKZZWXY1QLweEtGBHFH0Nai8 wCja6/Jj1+zkr4FhTzep/2fnctektjxDcoNH3OTLwew0lsDPNot9+cllGJ3KvEap wIK+r5mhFSiFXAv4ygwjfdNbJSRBgk5VrhSFocQZ/rU37h6DC9VCq8qgZAsfihg= =yLbw -----END PGP SIGNATURE----- --HPrJRUuBJpvwNa7gEfacSSkwEDFsgKeUO--