[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/4] qmp: Optionally run handlers in coroutines
From: |
Kevin Wolf |
Subject: |
Re: [PATCH v4 0/4] qmp: Optionally run handlers in coroutines |
Date: |
Wed, 12 Feb 2020 12:40:50 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
Am 05.02.2020 um 15:00 hat Kevin Wolf geschrieben:
> Am 21.01.2020 um 19:11 hat Kevin Wolf geschrieben:
> > Some QMP command handlers can block the main loop for a relatively long
> > time, for example because they perform some I/O. This is quite nasty.
> > Allowing such handlers to run in a coroutine where they can yield (and
> > therefore release the BQL) while waiting for an event such as I/O
> > completion solves the problem.
> >
> > This series adds the infrastructure to allow this and switches
> > block_resize to run in a coroutine as a first example.
> >
> > This is an alternative solution to Marc-André's "monitor: add
> > asynchronous command type" series.
>
> Ping?
Ping.
Kevin