|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re : iscsi: Flavours of Login> Matthew, > > Some comments inline within the table. > Regards, > Santosh > > "BURBRIDGE,MATTHEW (HP-UnitedKingdom,ex2)" wrote: > > > > > Flavours of Login: > > +-------+-------+-------+---+-------------------------------------------+ > > | TSID | ISID | CID | X | Description | > > +-------+-------+-------+---+-------------------------------------------+ > > | 0 | New | New | 0 | Initiator is creating a new session. | > > +-------+-------+-------+---+-------------------------------------------+ > > Agreed. (Note that in this case, the CID is really a don't care, since CID is > always new when a login on a new ISID is received.) > > > | 0 | Exist | New | 0 | Initiator is trying to login after reboot | > > +-------+-------+-------+---+-------------------------------------------+ > > The first qualifier of a login should be the (ISID, TSID). If a session exists > for the given (initiator name + ISID) pair and TSID is set to 0, then, the > target MUST consider this login as an implicit logout of the previous session > and then a re-login. In this case, the CID or X bit must be a "don't care". > (?). > > > | Exist | Exist | New | 0 | Initiator is adding a new connection to | > > | | | | | an existing session. | > > +-------+-------+-------+---+-------------------------------------------+ > > Agreed. > > > | Exist | Exist | Exist | 1 | Initiator is attempted connection | > > | | | | | reinstatement | > > Agreed. > > > +-------+-------+-------+---+-------------------------------------------+ > > | Exist | Exist | New | 1 | Initiator is attempting session recovery | > > | | | | | (Proposal A) | > > The above is an invalid login PDU. An existing (ISID, TSID) login MUST either > use : > a) an existing CID with the X bit set > b) or, a new CID while adding a cxn to a session. > > > +-------+-------+-------+---+-------------------------------------------+ > > | 0 | Exist | New | 1 | Initiator is attempting session recovery | > > | | | | | (Proposal B) | > > +-------+-------+-------+---+-------------------------------------------+ > > As stated earlier, for a given (initiator name + ISID), if the TSID is 0, the > login is an implicit logout + re-login if a previous session exists, for that > (initiator name + ISID). In this case, the CID and X_bit are "don't cares". begin:vcard n:Rao;Santosh tel;work:408-447-3751 x-mozilla-html:FALSE org:Hewlett Packard, Cupertino.;SISL adr:;;19420, Homestead Road, M\S 43LN, ;Cupertino.;CA.;95014.;USA. version:2.1 email;internet:santoshr@cup.hp.com title:Software Design Engineer x-mozilla-cpt:;21088 fn:Santosh Rao end:vcard
Home Last updated: Wed Sep 12 14:17:08 2001 6518 messages in chronological order |