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 <el13...@mail.ntua.gr>
> ---
>  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 <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to