Remove aio_context assertion, it seems it is unneeded

rdma-zerocopy
Vitaliy Filippov 2021-04-14 01:59:32 +03:00
parent 8c9f32cd45
commit 38bd51c97f
1 changed files with 0 additions and 1 deletions

View File

@ -206,7 +206,6 @@ static int vitastor_file_open(BlockDriverState *bs, QDict *options, int flags, E
} }
else else
{ {
assert(qemu_get_current_aio_context() == qemu_get_aio_context());
qemu_coroutine_enter(qemu_coroutine_create((void(*)(void*))vitastor_co_get_metadata, &task)); qemu_coroutine_enter(qemu_coroutine_create((void(*)(void*))vitastor_co_get_metadata, &task));
} }
BDRV_POLL_WHILE(bs, !task.complete); BDRV_POLL_WHILE(bs, !task.complete);