Skip to content

mpt3sas: exposing all reply queues

Hannes Reinecke linux-scsi 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/23 patches 0 repliesNew
  2. v4 posting 1/212 patches 7 repliesApplied
  3. v3 posting 2/23 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 1/210 patches11 repliesSuperseded
v2 posting 2/23 patches0 repliesSuperseded
v2 posting 1/211 patches16 repliesSuperseded
v110 patches48 repliesSuperseded

Changes to v1 from the cover letter

- Include reviews from Christoph
- Use reserved commands for ioctl passthrough commands
- Include reviews from Sreekanth

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mpt3sas: Use 'msix_index' as argument for put_smid functionsdrivers/scsi/mpt3sas/mpt3sas_base.c drivers/scsi/mpt3sas/mpt3sas_base.h drivers/scsi/mpt3sas/mpt3sas_config.c +3 more+71 -550 replies
2/3block: Add blk_mq_make_unique_tag()block/blk-mq-tag.c include/linux/blk-mq.h+6 -20 replies
3/3mpt3sas: scsi-mq interrupt steeringdrivers/scsi/mpt3sas/mpt3sas_base.c drivers/scsi/mpt3sas/mpt3sas_base.h drivers/scsi/mpt3sas/mpt3sas_scsih.c+59 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/3] mpt3sas: exposing all reply queues

Hi all,

this is the second part of my patchset to enable scsi multiqueue for the mpt3sas driver.
While the HBA only has a single mailbox register for submitting commands, it does have individual receive queues per MSI-X interrupt and as such does benefit from converting it to full multiqueue support.

On request from Broadcom the patchset has been split in two parts, one to enable lockless command submission and a secondary one for exposing all hardware queues to the OS.

As usual, comments and reviews are welcome.

Changes to v1:
- Include reviews from Christoph
- Use reserved commands for ioctl passthrough commands
- Include reviews from Sreekanth

Changes to v2:
- Rework ioctl code to not use blk_mq_busy_iter
- Open-code mpt3sas_scsi_direct_io_(get,set)

Changes to v3:
- Simplify task management code
- Simplify _wait_for_commands_to_complete
- Use first reserved smid for ioctl passthrough

Hannes Reinecke (3):
mpt3sas: Use 'msix_index' as argument for put_smid functions
block: Add blk_mq_make_unique_tag()
mpt3sas: scsi-mq interrupt steering

 block/blk-mq-tag.c                       |  3 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c      | 80 +++++++++++++++++++-------------
 drivers/scsi/mpt3sas/mpt3sas_base.h      | 20 ++++++--
 drivers/scsi/mpt3sas/mpt3sas_config.c    |  2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c       | 21 +++++----
 drivers/scsi/mpt3sas/mpt3sas_scsih.c     | 59 ++++++++++++++++++-----
 drivers/scsi/mpt3sas/mpt3sas_transport.c |  8 ++--
 include/linux/blk-mq.h                   |  5 ++
 8 files changed, 135 insertions(+), 63 deletions(-)
Signature · 1 line
1.8.5.6