[stgt] [PATCH] Fix a problem w.r.t registering second target to the iSNS Server

Chandra Seetharaman sekharan at us.ibm.com
Tue Aug 17 02:45:48 CEST 2010


On Fri, 2010-08-13 at 14:31 +0900, FUJITA Tomonori wrote:
> On Wed, 11 Aug 2010 14:40:58 -0700
> Chandra Seetharaman <sekharan at us.ibm.com> wrote:
> 
> > The latest changes to iSNS module in stgt made stgt to fail registering
> > the second target to Microsoft iSNS Server (registering with open-isns
> > works fine).
> > 
> > Specifically, the change to use name of the target being registered 
> > instead of the first target's name.
> 
> The spec requires the first target's name (I can't recall)?
> 

No, I did _not_ interpret it that way from the spec.

Since the original (before I changed it) behavior was that way and MS
iSNS server expects it that way so I put back the original code.

> 
> > ISNS_FUNC_DEV_ATTR_REG fails with ISNS_STATUS_SOURCE_UNAUTHORIZED
> > ISNS_FUNC_DEV_ATTR_QRY and ISNS_FUNC_SCN_REG fails with
> > ISNS_STATUS_SOURCE_UNKNOWN.
> > 
> > This patch reverts the change to use the first target's name for all
> > target registrations.
> > 
> > Signed-Off-By: Chandra Seetharaman <sekharan at us.ibm.com>
> > ---
> >  usr/iscsi/isns.c |    6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> Applied.


--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list