expose queue the queue mapping for SCSI drivers V2
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. Changes since V1: - move the EXPORT_SYMBOL of blk_mq_map_queues to the right patch - added Reviewed-by, Acked-by and Tested-by tags -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: expose queue the queue mapping for SCSI drivers
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 h...@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) -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
expose queue the queue mapping for SCSI drivers
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) -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html