linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* expose queue the queue mapping for SCSI drivers V2
@ 2016-11-01 14:12 Christoph Hellwig
  2016-11-01 14:12 ` [PATCH 1/3] blk-mq: export blk_mq_map_queues Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Christoph Hellwig @ 2016-11-01 14:12 UTC (permalink / raw)
  To: martin.petersen, don.brace; +Cc: axboe, linux-scsi, linux-block

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* expose queue the queue mapping for SCSI drivers
@ 2016-10-15  8:47 Christoph Hellwig
  2016-10-15  8:47 ` [PATCH 1/3] blk-mq: export blk_mq_map_queues Christoph Hellwig
  0 siblings, 1 reply; 12+ messages in thread
From: Christoph Hellwig @ 2016-10-15  8:47 UTC (permalink / raw)
  To: martin.petersen, don.brace; +Cc: axboe, linux-scsi, linux-block

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)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-01 17:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 14:12 expose queue the queue mapping for SCSI drivers V2 Christoph Hellwig
2016-11-01 14:12 ` [PATCH 1/3] blk-mq: export blk_mq_map_queues Christoph Hellwig
2016-11-01 15:53   ` Martin K. Petersen
2016-11-01 16:02     ` Jens Axboe
2016-11-01 16:00   ` Sagi Grimberg
2016-11-01 14:12 ` [PATCH 2/3] scsi: allow LLDDs to expose the queue mapping to blk-mq Christoph Hellwig
2016-11-01 16:01   ` Sagi Grimberg
2016-11-01 14:12 ` [PATCH 3/3] smartpqi: switch to pci_alloc_irq_vectors Christoph Hellwig
2016-11-01 17:37 ` expose queue the queue mapping for SCSI drivers V2 Martin K. Petersen
  -- strict thread matches above, loose matches on Subject: below --
2016-10-15  8:47 expose queue the queue mapping for SCSI drivers Christoph Hellwig
2016-10-15  8:47 ` [PATCH 1/3] blk-mq: export blk_mq_map_queues Christoph Hellwig
2016-10-15 11:45   ` Hannes Reinecke
2016-10-17  7:29   ` Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).