All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Or Gerlitz <ogerlitz@mellanox.com>
Cc: JBottomley@parallels.com, linux-scsi@vger.kernel.org,
	MChristie@fusionio.com, shlomop@mellanox.com
Subject: Re: [PATCH 0/3] SCSI/libiscsi: Reduce locking contention in fast path
Date: Sun, 10 Nov 2013 23:55:12 -0600	[thread overview]
Message-ID: <52807140.10400@cs.wisc.edu> (raw)
In-Reply-To: <1382880206-2789-1-git-send-email-ogerlitz@mellanox.com>

On 10/27/13 8:23 AM, Or Gerlitz wrote:
> Hi James,
>
> This series is about reducing locking contention in the IO submission/response processing
> fast path of libiscsi and the various iscsi transports usage of libiscsi code.
>
> We replace the session lock with two locks, a forward lock and a backwards lock
> named frwd_lock and back_lock respectively.
>
> The forward lock protects resources that change while sending a request to the
> target, such as cmdsn, queued_cmdsn, and allocating task from the commands'
> pool with kfifo_out.
>
> The backward lock protects resources that change while processing a response or
> in error path, such as cmdsn_exp, cmdsn_max, and returning tasks to the commands'
> pool with kfifo_in.
>
> The 1st patch in the series is a restructuring patch for iscsi_tcp r2t response
> logic, the 2nd is the main patch and the 3rd is cleanup asked by Mike who reviewed
> the whole series when we posted in over the open-iscsi mailing list.
>
> Under a "steady state" fast-path situation, that is when one or more processes/threads
> submit IO to an iscsi device and a single kernel upcall (e.g softirq) is dealing
> with processing  of responses without errors, this patch eliminates the contention
> between the queuecommand()/request response/scsi_done() associated with iscsi sessions.
>
> Or and Shlomo.
>
> Shlomo Pongratz (3):
>    SCSI/libiscsi: Restructure iscsi_tcp r2t response logic
>    SCSI/libiscsi: Reduce locking contention in fast path
>    SCSI/libiscsi: Remove unneeded code
>

Hi James,

I saw your git pull mail said it was the first round of patches. If you 
are going to do a second round could you take the patches in this thread?

I had replied to the first mail in the thread with a signed-off line:

http://marc.info/?l=linux-scsi&m=138309757219394&w=2

It should have been a reviewed-by, so here is the proper tag.

Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>





      parent reply	other threads:[~2013-11-11  5:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-27 13:23 [PATCH 0/3] SCSI/libiscsi: Reduce locking contention in fast path Or Gerlitz
2013-10-27 13:23 ` [PATCH 1/3] SCSI/libiscsi: Restructure iscsi_tcp r2t response logic Or Gerlitz
2013-10-30  1:46   ` Mike Christie
2013-10-27 13:23 ` [PATCH 2/3] SCSI/libiscsi: Reduce locking contention in fast path Or Gerlitz
2013-10-27 13:23 ` [PATCH 3/3] SCSI/libiscsi: Remove unneeded code Or Gerlitz
2013-11-11  5:55 ` Mike Christie [this message]

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=52807140.10400@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=JBottomley@parallels.com \
    --cc=MChristie@fusionio.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=shlomop@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.