Thread (10 messages) 10 messages, 5 authors, 2021-07-08

Re: [PATCH V2 5/6] virtio: add one field into virtio_device for recording if device uses managed irq

From: Ming Lei <hidden>
Date: 2021-07-08 06:35:33
Also in: linux-block, linux-nvme, linux-scsi

On Wed, Jul 07, 2021 at 04:05:29PM +0200, Christoph Hellwig wrote:
On Wed, Jul 07, 2021 at 05:42:54PM +0800, Ming Lei wrote:
quoted
The problem is that how blk-mq looks at that flag, since the device
representing the controller which allocates irq vectors isn't visible
to blk-mq.
In blk_mq_pci_map_queues and similar helpers.
Firstly it depends if drivers call into these helpers, so this way
is fragile.

Secondly, I think it isn't good to expose specific physical devices
into blk-mq which shouldn't deal with physical device directly, also
all the three helpers just duplicates same logic except for retrieving
each vector's affinity from specific physical device.

I will think about how to cleanup them.


Thanks,
Ming

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help