target-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: target-devel@vger.kernel.org
Subject: Re: [PATCH 02/15] target: fix isid copying and comparision
Date: Fri, 20 Jul 2018 22:24:32 +0000	[thread overview]
Message-ID: <bf5b05b172f8a74d967ce699b1ccea3c47ac8f8c.camel@wdc.com> (raw)
In-Reply-To: <1531696591-8558-3-git-send-email-mchristi@redhat.com>

On Fri, 2018-07-20 at 16:08 -0500, Mike Christie wrote:
+AD4- Hey Bart and Christoph,
+AD4- 
+AD4- Bart, I noticed we basically had what you are requesting but Christoph
+AD4- had moved the id code from the fabric drivers to lio core in this commit:
+AD4- 
+AD4- commit 2650d71e244fb3637b5f58a0080682a8bf9c7091
+AD4- Author: Christoph Hellwig +ADw-hch+AEA-lst.de+AD4-
+AD4- Date: Fri May 1 17:47:58 2015 +-0200
+AD4- 
+AD4- target: move transport ID handling to the core

Hello Mike,

I'm not in favor of reverting Christoph's patch because that patch simplified
the target code significantly. On the other hand, it's inconvenient that with
the current approach there is some code and knowledge in the target core that
should be in target drivers. I think that the code for parsing the initiator
name in srp+AF8-get+AF8-pr+AF8-transport+AF8-id() should be in the SRP target driver instead
of the core. When I added support for a new initiator name format in the SRP
target driver I overlooked that I had to update srp+AF8-get+AF8-pr+AF8-transport+AF8-id()
because that function is in the core instead of ib+AF8-srpt.c. See also commit
2dc98f09f9e6 (+ACI-IB/srpt: Use the source GUID as session name+ACI-). Christoph, do
you want me to add support for the new ib+AF8-srpt initiator name format in 
drivers/target/target+AF8-core+AF8-fabric+AF8-lib.c or should I find a way to move the
code for parsing the initiator name into ib+AF8-srpt.c?

Thanks,

Bart.

      parent reply	other threads:[~2018-07-20 22:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15 23:16 [PATCH 02/15] target: fix isid copying and comparision Mike Christie
2018-07-18 22:09 ` Bart Van Assche
2018-07-19  0:03 ` Mike Christie
2018-07-19  1:02 ` Mike Christie
2018-07-19 15:15 ` Bart Van Assche
2018-07-19 16:13 ` Mike Christie
2018-07-20 21:08 ` Mike Christie
2018-07-20 21:15 ` Mike Christie
2018-07-20 22:24 ` Bart Van Assche [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=bf5b05b172f8a74d967ce699b1ccea3c47ac8f8c.camel@wdc.com \
    --to=bart.vanassche@wdc.com \
    --cc=target-devel@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).