Re: [PATCH v2 12/12] block/nvme: Use per-queue AIO context

2020-07-04 Thread Philippe Mathieu-Daudé
On 7/1/20 6:03 PM, Stefan Hajnoczi wrote: > On Tue, Jun 30, 2020 at 09:13:18PM +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 AIO context and the n

Re: [PATCH v2 12/12] block/nvme: Use per-queue AIO context

2020-07-01 Thread Stefan Hajnoczi
On Tue, Jun 30, 2020 at 09:13:18PM +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 AIO context and the notification handler have to be proper > to each q

[PATCH v2 12/12] block/nvme: Use per-queue AIO context

2020-06-30 Thread Philippe Mathieu-Daudé
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 AIO context and the notification handler have to be proper to each queue, not to the block driver. Move aio_context and irq_notifier from BDRVNVMeStat