Re: expose queue the queue mapping for SCSI drivers
From: Hannes Reinecke <hare@suse.de>
Date: 2016-10-15 11:45:32
Also in:
linux-scsi
From: Hannes Reinecke <hare@suse.de>
Date: 2016-10-15 11:45:32
Also in:
linux-scsi
On 10/15/2016 10:47 AM, Christoph Hellwig wrote:
In 4.9 I've added support in the interrupt layer to automatically assign the interrupt affinity at interrupt allocation time, and expose that information to blk-mq. This series extents that so that SCSI driver can pass on the information as well. The SCSI part is fairly trivial, although we need to also export the default queue mapping function in blk-mq to keep things simple. I've also converted over the smartpqi driver as an example as it's the easiest of the multiqueue SCSI drivers to convert. I don't actually have smartpqi hardware, so that part will need additionaly testing. (I've tested it with virtio_scsi, but that requires a lot of virtio changes not ready to post yet)
Very nice. I've recently looked into exposing the multiqueue settings for fcoe/ixgbe, and figured that the SCSI part was indeed missing. Thanks for doing this. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: J. Hawn, J. Guild, F. Imend�rffer, HRB 16746 (AG N�rnberg)