From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4TZm-00071X-39 for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:33:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4TZi-0000Ml-36 for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:33:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4TZh-0000MS-Th for qemu-devel@nongnu.org; Mon, 15 Jun 2015 08:33:14 -0400 Message-ID: <557EC603.5060805@redhat.com> Date: Mon, 15 Jun 2015 06:33:07 -0600 From: Eric Blake MIME-Version: 1.0 References: <1434121078-15776-1-git-send-email-stefanha@redhat.com> <1434121078-15776-7-git-send-email-stefanha@redhat.com> In-Reply-To: <1434121078-15776-7-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dRhIp6PndTHJX03Co3PTpmvjueQXQLsSf" Subject: Re: [Qemu-devel] [PULL 06/10] throttle: Add throttle group support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Alberto Garcia This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dRhIp6PndTHJX03Co3PTpmvjueQXQLsSf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/12/2015 08:57 AM, Stefan Hajnoczi wrote: > From: Alberto Garcia >=20 > The throttle group support use a cooperative round robin scheduling > algorithm. >=20 > The principles of the algorithm are simple: > - Each BDS of the group is used as a token in a circular way. > - The active BDS computes if a wait must be done and arms the right > timer. > - If a wait must be done the token timer will be armed so the token > will become the next active BDS. >=20 > Signed-off-by: Alberto Garcia > Reviewed-by: Stefan Hajnoczi > Message-id: f0082a86f3ac01c46170f7eafe2101a92e8fde39.1433779731.git.ber= to@igalia.com > Signed-off-by: Stefan Hajnoczi > --- > +++ b/qapi/block-core.json > @@ -1062,6 +1062,27 @@ > # > # Change I/O throttle limits for a block drive. > # > +# > +# I/O limits can be disabled by setting all of them to 0. In this case= > +# the device will be removed from its group and the rest of its > +# members will no be affected. The 'group' parameter is ignored. s/no/not/ (can be done in a followup patch, since this is already a pull request) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --dRhIp6PndTHJX03Co3PTpmvjueQXQLsSf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVfsYHAAoJEKeha0olJ0NqwEgH/0Cd8TCF5V9liIB5hRXWzfUt gR7KOcyXeRmsJeqLxhFschxsJr+CnRLOUnTzOlhq6dhwlpkpnKs3kjMQGP1I5Adi fS/Afbg4f0cWWubjkRpcCYMUKxC69wGaYh/wbidqbAPmCtqOeeG0BWpcyVYgdK+4 OpSVd+FjlsxfDdyrFgi7slCtjh+5atFuS2ro99NQGNAZZzH7kumRZQBFxnBu9OeV 12PHQZ//0ILsVlLm+8BxMg/3lf0EblYK3kuKXRmBJXSYngoNt0Lnpmk5h2eii3R1 vBrd0I+85xcW3ABy0GPlC3KGV7Pf0LQNsNIfvrZ7rUBh+dGzMcUPwea4z6OTVsg= =9WYw -----END PGP SIGNATURE----- --dRhIp6PndTHJX03Co3PTpmvjueQXQLsSf--