Kevin Wolf bb67568954 test-bdrv-drain: bdrv_drain() works with cross-AioContext events
As long as nobody keeps the other I/O thread from working, there is no
reason why bdrv_drain() wouldn't work with cross-AioContext events. The
key is that the root request we're waiting for is in the AioContext
we're polling (which it always is for bdrv_drain()) so that aio_poll()
is woken up in the end.

Add a test case that shows that it works. Remove the comment in
bdrv_drain() that claims otherwise.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-06-18 15:03:25 +02:00
..
2016-10-07 14:14:06 +02:00
2018-06-15 14:49:44 +02:00
2018-05-15 16:15:21 +02:00
2018-05-15 16:11:41 +02:00
2018-02-09 05:05:11 +01:00
2017-07-17 11:34:11 +08:00
2018-06-01 14:41:47 +01:00
2018-06-15 14:49:44 +02:00
2018-06-11 16:18:45 +02:00
2018-06-15 14:49:44 +02:00
2018-06-15 14:49:44 +02:00