linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ibmvfc: MQ preparatory locking work
@ 2020-12-18 23:19 Tyrel Datwyler
  2020-12-18 23:19 ` [PATCH 1/5] ibmvfc: define generic queue structure for CRQs Tyrel Datwyler
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Tyrel Datwyler @ 2020-12-18 23:19 UTC (permalink / raw)
  To: james.bottomley
  Cc: martin.petersen, linux-scsi, linuxppc-dev, linux-kernel, brking,
	Tyrel Datwyler

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


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH v2 0/5] ibmvfc: MQ preparatory locking work
@ 2021-01-06 20:18 Tyrel Datwyler
  2021-01-06 20:18 ` [PATCH v2 4/5] ibmvfc: complete commands outside the host/queue lock Tyrel Datwyler
  0 siblings, 1 reply; 13+ messages in thread
From: Tyrel Datwyler @ 2021-01-06 20:18 UTC (permalink / raw)
  To: james.bottomley
  Cc: martin.petersen, linux-scsi, linuxppc-dev, linux-kernel, brking,
	Tyrel Datwyler

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.

changes in v2:
* Patch 4: Made ibmvfc_locked_done() static fixing a no-prototype warning

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


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

end of thread, other threads:[~2021-01-06 20:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 23:19 [PATCH 0/5] ibmvfc: MQ preparatory locking work Tyrel Datwyler
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
2021-01-06 20:18 [PATCH v2 0/5] ibmvfc: MQ preparatory locking work Tyrel Datwyler
2021-01-06 20:18 ` [PATCH v2 4/5] ibmvfc: complete commands outside the host/queue lock Tyrel Datwyler

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