From: Juergen Gross <jgross@suse.com>
To: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Cc: linux-scsi@vger.kernel.org, JBottomley@parallels.com,
xen-devel@lists.xen.org, hch@infradead.org,
target-devel@vger.kernel.org, david.vrabel@citrix.com,
JBeulich@suse.com
Subject: Re: Re: [Xen-devel] [PATCH V4 3/4] Introduce XEN scsiback module
Date: Thu, 14 Aug 2014 10:53:37 +0200 [thread overview]
Message-ID: <53EC7911.7040109@suse.com> (raw)
In-Reply-To: <1407878022.27925.33.camel@haakon3.risingtidesystems.com>
Nicholas,
just one more question (see below):
On 08/12/2014 11:13 PM, Nicholas A. Bellinger wrote:
> Hi Juergen & Co,
>
> Finally had a chance to review this code. Comments are inline below..
>
> On Fri, 2014-08-08 at 09:49 +0200, jgross@suse.com wrote:
...
>> + if (IS_ERR(tv_nexus->tvn_se_sess)) {
>> + mutex_unlock(&tpg->tv_tpg_mutex);
>> + kfree(tv_nexus);
>> + return -ENOMEM;
>> + }
>> + se_sess = tv_nexus->tvn_se_sess;
>> + /*
>> + * Since we are running in 'demo mode' this call with generate a
>> + * struct se_node_acl for the scsiback struct se_portal_group with
>> + * the SCSI Initiator port name of the passed configfs group 'name'.
>> + */
>> + tv_nexus->tvn_se_sess->se_node_acl = core_tpg_check_initiator_node_acl(
>> + se_tpg, (unsigned char *)name);
>> + if (!tv_nexus->tvn_se_sess->se_node_acl) {
>> + mutex_unlock(&tpg->tv_tpg_mutex);
>> + pr_debug("core_tpg_check_initiator_node_acl() failed for %s\n",
>> + name);
>> + goto out;
>> + }
Can I drop the call to core_tpg_check_initiator_node_acl() as well?
Keeping it will result in failing to setup the nexus (which is to be
expected IMHO).
I suppose the name of the nexus is just for reference and should be
stored somewhere to be able to print it in _show_nexus()?
Juergen
next prev parent reply other threads:[~2014-08-14 8:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 7:49 Add XEN pvSCSI support jgross
2014-08-08 7:49 ` [PATCH V4 1/4] Add XEN pvSCSI protocol description jgross
2014-08-08 7:49 ` [PATCH V4 2/4] Introduce xen-scsifront module jgross
2014-08-11 9:54 ` Christoph Hellwig
2014-08-11 10:27 ` [Xen-devel] " Juergen Gross
2014-08-11 17:50 ` Christoph Hellwig
2014-08-12 11:32 ` Juergen Gross
2014-08-08 7:49 ` [PATCH V4 3/4] Introduce XEN scsiback module jgross
2014-08-11 18:14 ` Christoph Hellwig
2014-08-12 12:29 ` [Xen-devel] " Juergen Gross
2014-08-12 12:52 ` Juergen Gross
2014-08-12 21:13 ` Nicholas A. Bellinger
2014-08-13 7:02 ` Juergen Gross
2014-08-14 4:34 ` Re: [Xen-devel] " Juergen Gross
2014-08-17 2:33 ` Nicholas A. Bellinger
2014-08-17 2:15 ` Nicholas A. Bellinger
2014-08-14 8:53 ` Juergen Gross [this message]
2014-08-14 10:14 ` [Xen-devel] " Juergen Gross
2014-08-17 2:38 ` Nicholas A. Bellinger
2014-08-18 9:06 ` Juergen Gross
2014-08-08 7:49 ` [PATCH V4 4/4] add xen pvscsi maintainer jgross
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=53EC7911.7040109@suse.com \
--to=jgross@suse.com \
--cc=JBeulich@suse.com \
--cc=JBottomley@parallels.com \
--cc=david.vrabel@citrix.com \
--cc=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=nab@linux-iscsi.org \
--cc=target-devel@vger.kernel.org \
--cc=xen-devel@lists.xen.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).