|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: iSCSI: response to second login (with same ISID)Matt, The issue spans beyond just an orderly vs. non-orderly shutdown. Some user application may be performing raw I/O access to an iSCSI device when the system may be shutdown. The logout operation itself may fail (usually a don't care for the drivers.). What is wrong with FC semantics of a login causing an implicit logout. It allows for clean up of old stale sessions. Regards, Santosh Matt Wakeley wrote: > > Santosh Rao wrote: > > > In the event where the initiator went through a non-orderly shutdown > > which did not close all sessions, it would attempt to re-login on > > re-boot with the same ISID. If the target rejected this re-login, per > > (1) (citing an invalid ISID), the initiator would no longer be able to > > maintain persistence of the session to an ISID. > > In this case, the initiator is at fault (it performed a non-orderly > shutdown). Hence, when it logs in with the target, the target comes back and > says, "bad initiator, you're already logged in with me". The initiator can > then say "oh yeah, ok, let's clean up" and perform an orderly shutdown of the > session. > > > b) Using (2) allows the hosts to hint to the target that the previous > > session is now stale and thus triggers clean-up of stale session > > resources. > > Rather than "hint", I think explicite cleaning up is better. > > -Matt 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: Tue Sep 04 01:04:37 2001 6315 messages in chronological order |