public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org,
	Sreekanth Reddy <sreekanth.reddy@broadcom.com>,
	Kashyap Desai <kashyap.desai@broadcom.com>,
	Sathya Prakash <sathya.prakash@broadcom.com>,
	Hannes Reinecke <hare@suse.de>
Subject: [PATCHv4 0/3] mpt3sas: exposing all reply queues
Date: Wed, 22 Feb 2017 11:33:32 +0100	[thread overview]
Message-ID: <1487759615-3989-1-git-send-email-hare@suse.de> (raw)

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(-)

-- 
1.8.5.6

             reply	other threads:[~2017-02-22 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 10:33 Hannes Reinecke [this message]
2017-02-22 10:33 ` [PATCHv4 1/3] mpt3sas: Use 'msix_index' as argument for put_smid functions Hannes Reinecke
2017-02-22 10:33 ` [PATCHv4 2/3] block: Add blk_mq_make_unique_tag() Hannes Reinecke
2017-02-22 10:33 ` [PATCHv4 3/3] mpt3sas: scsi-mq interrupt steering Hannes Reinecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487759615-3989-1-git-send-email-hare@suse.de \
    --to=hare@suse.de \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=kashyap.desai@broadcom.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=sathya.prakash@broadcom.com \
    --cc=sreekanth.reddy@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox