Paolo Bonzini 8f90b5e91d block: get rid of bdrv_io_unplugged_begin/end
bdrv_io_plug and bdrv_io_unplug are only called (via their
BlockBackend equivalents) after starting asynchronous I/O.
bdrv_drain is not going to be called while they are running,
because---even if a coroutine runs for some reason---it will
only drain in the next iteration of the event loop through
bdrv_co_yield_to_drain.

So this mechanism is unnecessary, get rid of it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161129113334.605-1-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-01-16 13:25:17 +00:00
..
2016-11-14 22:47:34 -05:00
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2016-11-11 15:54:55 +01:00
2016-11-25 13:51:30 +01:00
2016-11-11 15:54:55 +01:00
2016-10-28 21:50:18 +08:00
2016-10-28 21:50:18 +08:00
2017-01-09 13:30:52 +01:00
2016-11-01 07:55:57 -04:00
2016-11-14 22:47:34 -05:00