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-01-20 13:36:23 +01:00
2016-10-07 13:34:07 +02:00
2016-11-14 22:47:34 -05:00
2017-01-09 13:30:52 +01:00
2016-09-27 11:57:30 +02:00
2017-01-09 13:30:52 +01:00
2016-11-14 11:15:54 -05:00
2016-07-05 16:46:27 +02:00
2016-07-05 16:46:27 +02:00
2016-11-14 22:47:34 -05:00
2016-09-19 16:30:45 +01:00
2017-01-03 16:38:48 +00:00
2016-10-24 17:56:07 +02: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
2017-01-09 13:30:53 +01:00
2017-01-09 13:30:53 +01:00
2017-01-09 13:30:53 +01:00
2017-01-16 13:25:17 +00:00
2017-01-03 16:38:48 +00:00
2017-01-03 16:38:48 +00:00
2017-01-09 13:30:53 +01:00
2016-11-14 22:49:26 -05:00
2017-01-03 16:38:48 +00:00
2016-11-02 09:28:56 +01:00
2016-11-11 15:54:55 +01:00
2017-01-03 16:38:48 +00:00
2016-10-07 13:34:07 +02:00
2016-08-05 09:59:06 +01:00
2016-10-25 16:25:54 +02:00
2016-11-25 13:51:30 +01:00
2016-10-24 17:54:03 +02:00
2016-07-20 14:11:55 +01:00
2016-07-05 16:46:27 +02:00
2016-12-06 15:37:02 +01:00
2016-11-11 15:54:55 +01:00
2016-10-19 10:09:24 +01:00
2016-06-07 18:19:24 +03:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-10-28 21:50:18 +08:00
2016-10-28 21:50:18 +08:00
2016-10-07 13:34:07 +02:00
2017-01-09 13:30:52 +01: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
2017-01-03 16:38:48 +00:00
2016-06-20 16:38:13 +02:00
2017-01-03 16:38:48 +00:00
2016-11-14 22:47:34 -05:00
2016-10-24 17:54:03 +02:00
2017-01-09 13:30:53 +01:00
2016-09-23 11:42:52 +08:00
2016-09-23 11:42:52 +08:00
2016-07-05 16:46:27 +02:00
2016-09-23 11:42:52 +08:00
2014-12-12 15:42:22 +00:00
2016-09-05 19:06:48 +02:00
2016-09-23 11:42:52 +08:00
2016-09-23 13:36:10 +02:00
2017-01-03 16:38:48 +00:00
2016-10-07 13:34:07 +02:00