[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/7] block: add aio_context field in ThrottleGro
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/7] block: add aio_context field in ThrottleGroupMember |
Date: |
Mon, 24 Jul 2017 15:38:58 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Fri, Jul 14, 2017 at 12:45:16PM +0300, Manos Pitsidianakis wrote:
> timer_cb() needs to know about the current Aio context of the throttle
> request that is woken up. In order to make ThrottleGroupMember backend
> agnostic, this information is stored in an aio_context field instead of
> accessing it from BlockBackend.
>
> Signed-off-by: Manos Pitsidianakis <address@hidden>
> ---
> block/block-backend.c | 14 ++++-----
> block/throttle-groups.c | 38 ++++++++++++++++---------
> include/block/throttle-groups.h | 7 ++++-
> tests/test-throttle.c | 63
> +++++++++++++++++++++--------------------
> 4 files changed, 69 insertions(+), 53 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH 0/7] add throttle block driver filter, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 6/7] block: add BlockDevOptionsThrottle to QAPI, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 7/7] block: add throttle block filter driver interface tests, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 3/7] block: tidy ThrottleGroupMember initializations, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 2/7] block: add aio_context field in ThrottleGroupMember, Manos Pitsidianakis, 2017/07/14
- Re: [Qemu-devel] [PATCH 2/7] block: add aio_context field in ThrottleGroupMember,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/7] block: move ThrottleGroup membership to ThrottleGroupMember, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 4/7] block: convert ThrottleGroup to object with QOM, Manos Pitsidianakis, 2017/07/14
- [Qemu-devel] [PATCH 5/7] block: add throttle block filter driver, Manos Pitsidianakis, 2017/07/14