diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-02-18 15:33:08 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-02-25 15:03:19 +0100 |
commit | 28e0b2d2e13ef7c4dd645b1fd393f52009469803 (patch) | |
tree | c0223f2081b5d95e0431ea1a29347c30bffd9972 /block/vxhs.c | |
parent | d3bd5b90890f6715bcee38e00745112157dfbe59 (diff) | |
download | qemu-28e0b2d2e13ef7c4dd645b1fd393f52009469803.zip |
nbd: Increase bs->in_flight during AioContext switch
bdrv_drain() must not leave connection_co scheduled, so bs->in_flight
needs to be increased while the coroutine is waiting to be scheduled
in the new AioContext after nbd_client_attach_aio_context().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vxhs.c')
0 files changed, 0 insertions, 0 deletions