Am 28.10.2025 um 17:33 hat Hanna Czenczek geschrieben:
> AIO callbacks must be called in the originally calling AioContext,
> regardless of the BDS’s “main” AioContext.
> 
> Note: I tried to test this (under wine), but failed.  Whenever I tried
> to use multiqueue or even just an I/O thread for a virtio-blk (or
> virtio-scsi) device, I/O stalled, both with and without this patch.
> 
> For what it’s worth, when not using an I/O thread, I/O continued to work
> with this patch.
> 
> Signed-off-by: Hanna Czenczek <[email protected]>

Should we then do the opposite thing and just move every request into
the main thread and only move back before returning to the caller?

But I'm also not against making the theoretical fix so that maybe
someone can fix the other problem later. It just seems to be of somewhat
limited use on its own.

Kevin


Reply via email to