|
From: | Fam Zheng |
Subject: | Re: [Qemu-block] [PATCH v2 5/6] coroutine: Explicitly specify AioContext when entering coroutine |
Date: | Sat, 8 Apr 2017 11:27:08 +0800 |
User-agent: | Mutt/1.8.0 (2017-02-23) |
On Fri, 04/07 14:26, Stefan Hajnoczi wrote: > I wasn't expecting the patch to touch so many places. If a coroutine > can be permanently associated with an AioContext then there's no need to > keep assigning co->ctx on each qemu_coroutine_enter(). Maybe, but bs->job->co->ctx changes when bdrv_set_aio_context(bs->ctx) is called. In v1 the co->ctx is associated at qemu_coroutine_create() time but failed to handle bdrv_set_aio_context. Fam
[Prev in Thread] | Current Thread | [Next in Thread] |