On Thu, Jun 25, 2020 at 08:48:36PM +0200, Philippe Mathieu-Daudé wrote: > To be able to use multiple queues on the same hardware, > we need to have each queue able to receive IRQ notifications > in the correct AIO context. > The context has to be proper to each queue, not to the block > driver. Move aio_context from BDRVNVMeState to NVMeQueuePair. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > RFC because I'm not familiar with AIO context
This patch looks incomplete because there is still only 1 s->irq_notifier but the code already performs aio_set_event_notifer() calls for each queue in nvme_close(). Either there should be 1 irq_notifier and singleton aio_set_event_notifier() calls or irq_notifiers should really be per-queue.
signature.asc
Description: PGP signature
