linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tyrel Datwyler <tyreld@linux.ibm.com>
To: james.bottomley@hansenpartnership.com
Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	brking@linux.ibm.com, Tyrel Datwyler <tyreld@linux.ibm.com>
Subject: [PATCH 0/5] ibmvfc: MQ preparatory locking work
Date: Fri, 18 Dec 2020 17:19:11 -0600	[thread overview]
Message-ID: <20201218231916.279833-1-tyreld@linux.ibm.com> (raw)

The ibmvfc driver in its current form relies heavily on the host_lock. This
patchset introduces a genric queue with its own queue lock and sent/free event
list locks. This generic queue allows the driver to decouple the primary queue
and future subordinate queues from the host lock reducing lock contention while
also relaxing locking for submissions and completions to simply the list lock of
the queue in question.

Tyrel Datwyler (5):
  ibmvfc: define generic queue structure for CRQs
  ibmvfc: make command event pool queue specific
  ibmvfc: define per-queue state/list locks
  ibmvfc: complete commands outside the host/queue lock
  ibmvfc: relax locking around ibmvfc_queuecommand

 drivers/scsi/ibmvscsi/ibmvfc.c | 379 ++++++++++++++++++++++-----------
 drivers/scsi/ibmvscsi/ibmvfc.h |  54 +++--
 2 files changed, 286 insertions(+), 147 deletions(-)

-- 
2.27.0


             reply	other threads:[~2020-12-18 23:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 23:19 Tyrel Datwyler [this message]
2020-12-18 23:19 ` [PATCH 1/5] ibmvfc: define generic queue structure for CRQs Tyrel Datwyler
2020-12-18 23:19 ` [PATCH 2/5] ibmvfc: make command event pool queue specific Tyrel Datwyler
2020-12-18 23:19 ` [PATCH 3/5] ibmvfc: define per-queue state/list locks Tyrel Datwyler
2020-12-18 23:19 ` [PATCH 4/5] ibmvfc: complete commands outside the host/queue lock Tyrel Datwyler
2020-12-29  2:29   ` kernel test robot
2021-01-04 22:17   ` [PATCH 4/5 v2] ibmvfc: relax locking around ibmvfc_queuecommand Tyrel Datwyler
2021-01-04 22:19     ` Tyrel Datwyler
2021-01-04 22:24   ` [PATCH v2 4/5] ibmvfc: complete commands outside the host/queue lock Tyrel Datwyler
2021-01-06  4:42     ` Martin K. Petersen
2021-01-06 17:18       ` Tyrel Datwyler
2020-12-18 23:19 ` [PATCH 5/5] ibmvfc: relax locking around ibmvfc_queuecommand Tyrel Datwyler

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=20201218231916.279833-1-tyreld@linux.ibm.com \
    --to=tyreld@linux.ibm.com \
    --cc=brking@linux.ibm.com \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=martin.petersen@oracle.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;
as well as URLs for NNTP newsgroup(s).