summary refs log tree commit diff stats
path: root/include/qemu
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2017-08-24 16:24:43 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2017-08-29 16:54:44 +0100
commitfaa8215c1778159803d6af9368b922d8ef61aee2 (patch)
tree97fd9e8a198304614a6641f5246515e069038076 /include/qemu
parentcdd346371e09709be8e46398bb097dc690a746f2 (diff)
downloadfocaccia-qemu-faa8215c1778159803d6af9368b922d8ef61aee2.tar.gz
focaccia-qemu-faa8215c1778159803d6af9368b922d8ef61aee2.zip
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 <berto@igalia.com>
Reviewed-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
Message-id: 49aab2711d02f285567f3b3b13a113847af33812.1503580370.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/throttle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h
index d056008c18..66a8ac10a4 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