[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 1/2] block: add clock_type field to ThrottleGrou
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 1/2] block: add clock_type field to ThrottleGroup |
Date: |
Thu, 6 Jul 2017 10:57:33 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Sun, Jul 02, 2017 at 01:06:45PM +0300, Manos Pitsidianakis wrote:
> Clock type in throttling is currently inferred by the ThrottleTimer's
> clock type even though it is a per-ThrottleGroup property; it doesn't
> make sense to have different clock types in the same group. Moving this
> to a field in ThrottleGroup can simplify some of the throttle functions.
>
> Signed-off-by: Manos Pitsidianakis <address@hidden>
> ---
> block/throttle-groups.c | 20 ++++++++++----------
> fsdev/qemu-fsdev-throttle.c | 2 +-
> include/qemu/throttle.h | 1 +
> tests/test-throttle.c | 4 ++--
> util/throttle.c | 4 +++-
> 5 files changed, 17 insertions(+), 14 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature