diff options
author | Stefan Hajnoczi | 2016-12-01 20:26:52 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2017-01-03 17:38:50 +0100 |
commit | 5e5db49953e31689c1c70060870f0a7a6de26fcb (patch) | |
tree | e1692543039d6f2874fcd6b1b81feee25f2b6cb4 /include/sysemu/iothread.h | |
parent | aio: self-tune polling time (diff) | |
download | qemu-5e5db49953e31689c1c70060870f0a7a6de26fcb.tar.gz qemu-5e5db49953e31689c1c70060870f0a7a6de26fcb.tar.xz qemu-5e5db49953e31689c1c70060870f0a7a6de26fcb.zip |
iothread: add poll-grow and poll-shrink parameters
These parameters control the poll time self-tuning algorithm. They are
optional and will default to sane values if omitted.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161201192652.9509-14-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/sysemu/iothread.h')
-rw-r--r-- | include/sysemu/iothread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/iothread.h b/include/sysemu/iothread.h index 314e163377..e6da1a4087 100644 --- a/include/sysemu/iothread.h +++ b/include/sysemu/iothread.h @@ -31,6 +31,8 @@ typedef struct { /* AioContext poll parameters */ int64_t poll_max_ns; + int64_t poll_grow; + int64_t poll_shrink; } IOThread; #define IOTHREAD(obj) \ |