From: Alberto Garcia Date: Thu, 24 Aug 2017 13:24:43 +0000 (+0300) Subject: throttle: Fix wrong variable name in the header documentation X-Git-Tag: v2.11.0-rc0~142^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=faa8215c1778159803d6af9368b922d8ef61aee2;p=thirdparty%2Fqemu.git throttle: Fix wrong variable name in the header documentation The level of the burst bucket is stored in bkt.burst_level, not bkt.burst_length. Signed-off-by: Alberto Garcia Reviewed-by: Manos Pitsidianakis Message-id: 49aab2711d02f285567f3b3b13a113847af33812.1503580370.git.berto@igalia.com Signed-off-by: Stefan Hajnoczi --- diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h index d056008c18f..66a8ac10a4e 100644 --- a/include/qemu/throttle.h +++ b/include/qemu/throttle.h @@ -63,7 +63,7 @@ typedef enum { * - The bkt.avg rate does not apply until the bucket is full, * allowing the user to do bursts until then. The I/O limit during * bursts is bkt.max. To enforce this limit we keep an additional - * bucket in bkt.burst_length that leaks at a rate of bkt.max units + * bucket in bkt.burst_level that leaks at a rate of bkt.max units * per second. * * - Because of all of the above, the user can perform I/O at a