[PATCH V2 3/6] scsi: add flag of .use_managed_irq to 'struct Scsi_Host'
Christoph Hellwig
hch at lst.de
Mon Jul 5 22:37:19 PDT 2021
On Mon, Jul 05, 2021 at 05:55:49PM +0800, Ming Lei wrote:
> The thing is that blk_mq_pci_map_queues() is allowed to be called for
> non-managed irqs. Also some managed irq consumers don't use blk_mq_pci_map_queues().
>
> So this way just provides hint about managed irq uses, but we really
> need to get this flag set if driver uses managed irq.
blk_mq_pci_map_queues is absolutely intended to only be used by
managed irqs. I wonder if we can enforce that somehow?
More information about the Linux-nvme
mailing list