All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>, Tim Deegan <tim@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH 1/4] vscsiif.h: remove reference to WWN
Date: Mon, 02 Mar 2015 15:55:56 +0100	[thread overview]
Message-ID: <54F479FC.1090600@suse.com> (raw)
In-Reply-To: <20150302144023.GB18903@aepfle.de>

On 03/02/2015 03:40 PM, Olaf Hering wrote:
> On Mon, Mar 02, Olaf Hering wrote:
>
>> On Mon, Mar 02, Juergen Gross wrote:
>>
>>> On 03/02/2015 11:15 AM, Olaf Hering wrote:
>>>> The code in xend, xenlinux and pvops 3.18 expects the h:c:t:l notation.
>>>> Remove incorrect reference to WWN because it was never supported. And
>>>> its not clear how it could be supported. p-devname can be used to store
>>>> a config string.
>>>
>>> The pvops backend driver should support the WWN notation. In case it
>>> isn't working this is a bug which should be repaired.
>>>
>>> I implemented the WWn version before adding the possibility to use
>>> h:c:t:l due to compatibility with xend...
>>
>> This requires changes to the libxl parser. I was not aware of that pvops
>> uses such notation.
>
> And in fact it expects a colon in scsiback_add_translation_entry(). So
> my patch is still valid. If another implementation comes along which
> requires something else than h:c:t:l the comment will be adjusted.
> But, maybe the comment is just incomplete and the WWN example lacks the
> colon.

I was just about to write this. :-)

It should be: WWN:l (with l being the LUN).

To be even more precise: The backend expects name:l. The name is
checked against the WWN of the related device entry under
/sys/kernel/config/target/core or against the contents of the alias
entry under /sys/kernel/config/target/xen-pvscsi/*/tpgt_0/param/alias,
so any string could be used as long as there is a match between the
alias and the xenstore entry. "l" is in both cases the LUN number.


Juergen

  reply	other threads:[~2015-03-02 14:55 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 10:15 [PATCH 0/4] libbxl: add support for pvscsi, iteration 2 Olaf Hering
2015-03-02 10:15 ` [PATCH 1/4] vscsiif.h: remove reference to WWN Olaf Hering
2015-03-02 10:46   ` Jan Beulich
2015-03-02 10:50     ` Andrew Cooper
2015-03-02 10:55       ` Jürgen Groß
2015-03-02 11:00         ` Andrew Cooper
2015-03-02 10:59       ` Jan Beulich
2015-03-02 10:59   ` Juergen Gross
2015-03-02 14:34     ` Olaf Hering
2015-03-02 14:40       ` Olaf Hering
2015-03-02 14:55         ` Juergen Gross [this message]
2015-03-02 10:16 ` [PATCH 2/4] docs: add vscsi to xenstore-paths.markdown Olaf Hering
2015-03-02 10:16 ` [PATCH 3/4] docs: add pvscsi.txt Olaf Hering
2015-03-02 10:49   ` Jan Beulich
2015-03-02 11:04   ` Juergen Gross
2015-03-02 15:14     ` Olaf Hering
2015-03-02 15:35       ` Juergen Gross
2015-03-02 18:24         ` Olaf Hering
2015-03-02 10:16 ` [PATCH 4/4] libxl: add support for vscsi Olaf Hering
2015-03-02 14:20   ` Olaf Hering
2015-03-02 14:31     ` Ian Campbell
2015-03-02 15:11       ` Olaf Hering
2015-03-02 14:27   ` Olaf Hering

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=54F479FC.1090600@suse.com \
    --to=jgross@suse.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=olaf@aepfle.de \
    --cc=tim@xen.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 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.