[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] block: move ThrottleGroup membership to Thr
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] block: move ThrottleGroup membership to ThrottleGroupMember |
Date: |
Mon, 24 Jul 2017 15:36:43 +0100 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Fri, Jul 14, 2017 at 12:45:15PM +0300, Manos Pitsidianakis wrote:
> This commit eliminates the 1:1 relationship between BlockBackend and
> throttle group state. Users will be able to create multiple throttle
> nodes, each with its own throttle group state, in the future. The
> throttle group state cannot be per-BlockBackend anymore, it must be
> per-throttle node. This is done by gathering ThrottleGroup membership
> details from BlockBackendPublic into ThrottleGroupMember and refactoring
> existing code to use the structure.
>
> Signed-off-by: Manos Pitsidianakis <address@hidden>
> ---
>
> Notes:
> Dropped R-b because I changed some of the comments (removed all
> BlockBackend
> references in block/throttle-groups.c comments)
>
> block/block-backend.c | 66 +++++----
> block/qapi.c | 8 +-
> block/throttle-groups.c | 288
> ++++++++++++++++++++--------------------
> blockdev.c | 4 +-
> include/block/throttle-groups.h | 39 +++++-
> include/sysemu/block-backend.h | 20 +--
> tests/test-throttle.c | 53 ++++----
> 7 files changed, 252 insertions(+), 226 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
- [Qemu-devel] [PATCH 1/7] block: move ThrottleGroup membership to ThrottleGroupMember, Manos Pitsidianakis, 2017/07/14
- Re: [Qemu-devel] [PATCH 1/7] block: move ThrottleGroup membership to ThrottleGroupMember,
Stefan Hajnoczi <=
- [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