From: Jens Axboe <axboe@fb.com>
To: axboe@kernel.dk, linux-kernel@vger.kernel.org,
linux-scsi@vger.kernel.org
Cc: hch@lst.de
Subject: [PATCH RFC v2] mpt2/mpt3sas lock reduction for scsi-mq
Date: Tue, 7 Apr 2015 11:18:34 -0600 [thread overview]
Message-ID: <1428427120-20971-1-git-send-email-axboe@fb.com> (raw)
Hi,
This is v2 of the series. Generally addressed Christoph's review comments,
but more specifically, changes since v1:
- Kill the MPI2_FUNCTION_SCSI_TASK_MGMT support, which in turn
enabled me to drop the SCSI/blk iter patches and the smid work-around
for scsi-mq in mpt2/3 for bumping to hpr for NULL command.
- Made init/exit_command() work (sort of) on non scsi-mq. Drivers
will have to set request_index related information separately
still for non scsi-mq, since we don't have a reliable one
- Use scsi_cmd_priv() instead of adding a new helper.
- Make scsi_find_tag() only return in-progress IO for scsi-mq. This is
simiar to the ->special check for non-mq.
- Ensure that mpt3sas is in sync with the mpt2sas changes.
drivers/scsi/mpt2sas/mpt2sas_base.c | 187 ++++++++++++++++++++++++-----------
drivers/scsi/mpt2sas/mpt2sas_base.h | 3
drivers/scsi/mpt2sas/mpt2sas_ctl.c | 126 +----------------------
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 87 ++++++++++++----
drivers/scsi/mpt3sas/mpt3sas_base.c | 173 +++++++++++++++++++++++---------
drivers/scsi/mpt3sas/mpt3sas_base.h | 2
drivers/scsi/mpt3sas/mpt3sas_ctl.c | 130 +-----------------------
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 69 ++++++++++--
drivers/scsi/scsi.c | 9 +
drivers/scsi/scsi_lib.c | 16 ++
include/scsi/scsi_host.h | 6 -
include/scsi/scsi_tcq.h | 11 +-
12 files changed, 448 insertions(+), 371 deletions(-)
next reply other threads:[~2015-04-07 17:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 17:18 Jens Axboe [this message]
2015-04-07 17:18 ` [PATCH 1/6] scsi: add host template init/exit_command hooks Jens Axboe
2015-04-07 17:18 ` [PATCH 2/6] scsi: ensure that a request is valid when returning it from scsi_find_tag() Jens Axboe
2015-04-13 9:47 ` Christoph Hellwig
2015-04-07 17:18 ` [PATCH 3/6] mpt2sas: get rid of MPI2_FUNCTION_SCSI_TASK_MGMT Jens Axboe
2015-04-13 9:49 ` Christoph Hellwig
2015-04-07 17:18 ` [PATCH 4/6] mpt2sas: store scsi io tracker data in the scsi request Jens Axboe
2015-04-13 9:49 ` Christoph Hellwig
2015-04-07 17:18 ` [PATCH 5/6] mpt3sas: get rid of MPI2_FUNCTION_SCSI_TASK_MGMT Jens Axboe
2015-04-07 17:18 ` [PATCH 6/6] mpt3sas: store scsi io tracker data in the scsi request Jens Axboe
2015-04-13 9:50 ` [PATCH RFC v2] mpt2/mpt3sas lock reduction for scsi-mq Christoph Hellwig
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=1428427120-20971-1-git-send-email-axboe@fb.com \
--to=axboe@fb.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).