History log of /openbsd-current/usr.sbin/iscsid/session.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 08-Mar-2023 guenther

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.8 05-Dec-2015 mmcc

Don't check for NULL before free()


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 10-May-2014 claudio

Extend the connection and session FSMs so that connection failure is
handled more gracefully. Losing the TCP connection no longer results
in an unrecoverable stop requiring a restart of iscsid.


# 1.6 20-Apr-2014 claudio

After doing all of the loging dance to get the target's params it makes
sense to merge them into the active set. At least that way we run with
the right params and finally do reads and writes that are > 8k.


# 1.5 20-Apr-2014 claudio

Move session params initialization to when we start a session and not
when it is created. That way the config params from the config file have
a chance to stick.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 04-May-2011 claudio

Massive diff to handle logins more correctly. iscsid will now do
better operational parameter negotiation but more is needed.
Tested by todd@ and myself.


# 1.3 02-May-2011 claudio

Rework the logout code and use this to do a proper logout when
exiting. This works well for idle sessions but still has some
issues on busy session. It seems more task scheduler changes are
needed to make this work. This also includes some mem-leak fixes
in error pathes found by Igor Zinovik.
go for it dlg@


# 1.2 27-Apr-2011 claudio

Start implementing the FSM. Introduce a session FSM that is run via a
callback and implement some of the connection FSM actions. Implement
logouts so that discovery sessions do a nice login -> query -> logout.
Fix the task scheduling especially for immediate and connection specific
tasks. The session will now only schedule tasks to a session that is
in LOGGED_IN state.
looks good dlg@


# 1.1 05-Apr-2011 claudio

Move session related code into session.c.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 05-Dec-2015 mmcc

Don't check for NULL before free()


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.7 10-May-2014 claudio

Extend the connection and session FSMs so that connection failure is
handled more gracefully. Losing the TCP connection no longer results
in an unrecoverable stop requiring a restart of iscsid.


# 1.6 20-Apr-2014 claudio

After doing all of the loging dance to get the target's params it makes
sense to merge them into the active set. At least that way we run with
the right params and finally do reads and writes that are > 8k.


# 1.5 20-Apr-2014 claudio

Move session params initialization to when we start a session and not
when it is created. That way the config params from the config file have
a chance to stick.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 04-May-2011 claudio

Massive diff to handle logins more correctly. iscsid will now do
better operational parameter negotiation but more is needed.
Tested by todd@ and myself.


# 1.3 02-May-2011 claudio

Rework the logout code and use this to do a proper logout when
exiting. This works well for idle sessions but still has some
issues on busy session. It seems more task scheduler changes are
needed to make this work. This also includes some mem-leak fixes
in error pathes found by Igor Zinovik.
go for it dlg@


# 1.2 27-Apr-2011 claudio

Start implementing the FSM. Introduce a session FSM that is run via a
callback and implement some of the connection FSM actions. Implement
logouts so that discovery sessions do a nice login -> query -> logout.
Fix the task scheduling especially for immediate and connection specific
tasks. The session will now only schedule tasks to a session that is
in LOGGED_IN state.
looks good dlg@


# 1.1 05-Apr-2011 claudio

Move session related code into session.c.