On Thu, May 11, 2017 at 04:41:59PM +0200, Paolo Bonzini wrote: > Another possibility is to use tg->lock, which we're holding anyway in > both schedule_next_request and throttle_group_co_io_limits_intercept. > This would require open-coding the CoQueue however, so I've chosen this > alternative. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > v1->v2: rename CoMutex [Fam] > > block/block-backend.c | 1 + > block/throttle-groups.c | 12 ++++++++++-- > include/sysemu/block-backend.h | 7 ++----- > 3 files changed, 13 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature