Kevin Wolf ae23dde9dd test-bdrv-drain: Test AIO_WAIT_WHILE() in completion callback
This is a regression test for a deadlock that occurred in block job
completion callbacks (via job_defer_to_main_loop) because the AioContext
lock was taken twice: once in job_finish_sync() and then again in
job_defer_to_main_loop_bh(). This would cause AIO_WAIT_WHILE() to hang.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
2018-09-25 15:50:15 +02:00
..
2018-02-22 15:44:07 -08:00
2017-09-22 10:46:25 +08:00
2018-03-21 15:13:40 +01:00
2018-09-25 11:05:56 +01:00
2018-08-16 09:50:54 +01:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2018-08-16 09:50:54 +01:00
2017-03-01 11:51:05 +04:00
2018-08-31 09:53:10 +02:00
2018-08-31 09:53:10 +02:00
2018-02-08 09:22:03 +08:00
2017-09-05 22:34:40 +02:00
2018-08-31 09:53:10 +02:00
2018-08-23 18:46:25 +02:00
2018-08-23 18:46:25 +02:00
2017-12-20 22:01:24 +08:00