All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@sandisk.com>
To: Laurence Oberman <loberman@redhat.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Subject: Re: tcm_qla2xxx Add SCSI command jammer/discard capabilty to the tcm_qla2xxx module - revision3
Date: Tue, 29 Mar 2016 22:05:28 -0700	[thread overview]
Message-ID: <56FB5E98.9010103@sandisk.com> (raw)
In-Reply-To: <2025450295.25603731.1459262558755.JavaMail.zimbra@redhat.com>

On 03/29/16 07:42, Laurence Oberman wrote:
> I have been using this jammer functionality to continue testing the SCSI F/C drivers and recovery for over a year now.
> Any chance you would agree to ack this so I can get it in now.
> I last posted to the list last March and it was not picked up.
>
> I did look into moving this to upper layers but I find I use it primarily for fiber channel target testing.
> Attempting to add this functionality to upper layers led to complexities and this is very solid.
>
> This Patch diff against 4.5
>
> I use target LIO for all my storage array test targets and customer problem resolution here at Red Hat.
> This patch resulted from a requirement to mimic behavior of an expensive hardware jammer for a customer.
> I have used this for some time with good success to simulate and reproduce latency and slow drain fabric issues and
> for testing and validating error handling behavior
>   in the Emulex, Qlogic and other F/C drivers.
>
> Works by checking new parameter jam_host if its >= 0 and matches vha->host_no , jamming is enabled when jam_host >=0
> If parameter set to -1 (default) no jamming is enabled.

Hello Laurence,

Nic Bellinger is the maintainer of LIO so my recommendation is to ask 
Nic first about his opinion (I have CC'd Nic). I'm not sure what Nic 
thinks about this but in my opinion such functionality belongs in the 
target core instead of in a target driver. But please wait until Nic has 
provided his opinion before spending more time on this. The mailing list 
for SCSI target patches is target-devel@vger.kernel.org.

Bart.

  reply	other threads:[~2016-03-30  5:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1094927874.25583811.1459257571936.JavaMail.zimbra@redhat.com>
2016-03-29 14:42 ` tcm_qla2xxx Add SCSI command jammer/discard capabilty to the tcm_qla2xxx module - revision3 Laurence Oberman
2016-03-30  5:05   ` Bart Van Assche [this message]
2016-03-31  5:34     ` Nicholas A. Bellinger
2016-04-01  0:20       ` Himanshu Madhani
2016-04-01  0:55         ` Laurence Oberman
2016-04-01 18:15         ` Laurence Oberman
2016-04-02 16:04           ` tcm_qla2xxx Add SCSI command jammer/discard capabilty to the tcm_qla2xxx module - revision4 Laurence Oberman
2016-04-02 17:10             ` Laurence Oberman
2016-04-02 23:39               ` Nicholas A. Bellinger
2016-04-03 13:57                 ` [PATCH] tcm_qla2xxx Add SCSI command jammer/discard capability to the tcm_qla2xxx module Laurence Oberman
2016-04-04 20:54                   ` Nicholas A. Bellinger
2016-04-04 22:50                     ` Laurence Oberman
2016-05-09 14:56                       ` Laurence Oberman
2016-05-09 17:08                         ` Himanshu Madhani
2016-05-25 20:12                           ` Laurence Oberman
2016-05-26  3:07                             ` Nicholas A. Bellinger

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=56FB5E98.9010103@sandisk.com \
    --to=bart.vanassche@sandisk.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=loberman@redhat.com \
    --cc=nab@linux-iscsi.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 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.