[stgt] Have some questions w.r.t iSNS implementation in stgt

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Aug 3 04:13:20 CEST 2010


On Mon, 02 Aug 2010 18:28:35 -0700
Chandra Seetharaman <sekharan at us.ibm.com> wrote:

> On Sun, 2010-08-01 at 11:16 +0900, FUJITA Tomonori wrote:
> > On Fri, 30 Jul 2010 19:33:07 -0700
> > Chandra Seetharaman <sekharan at us.ibm.com> wrote:
> > 
> > > 1. What is the purpose of isns_timeout_fn() ? We send a
> > > isns_attr_query() to the iSNS server (every 30 second) on the last
> > > defined target and just dump the server's response on the floor. Why do
> > > it ?
> > 
> > I can't recall much about it. But I guess if we don't do scn, we need
> > to update the info (such as the list of initiators) periodically?
> 
> As I mentioned earlier, we just drop the response on the floor. Only one
> reason I can see is that by doing this we are sure that the iSNS server
> is alive (we do not do check or do anything if we don't get a response).
> 
> BTW, we do register for SCN (I am looking at why I am _not_ getting a
> SCN when a new initiator registers with the iSNS Server after I register
> for SCN :).

I thought that when I didn't implement SCN yet, if we didn't send a
query periodically, MS's iSNS server unregisters our information.

But I can't recall. It's fine by me to remove this feature if the code
works well without this.
--
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