OpenBSD CVS

CVS log for src/usr.sbin/iscsid/session.c


[BACK] Up to [local] / src / usr.sbin / iscsid

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:13 2023 UTC (15 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 5 06:37:24 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.7: +3 -5 lines
Diff to previous 1.7 (colored)

Don't check for NULL before free()

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 10 11:30:47 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.6: +110 -48 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 20 20:12:31 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.5: +7 -4 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 20 16:52:11 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.4: +10 -5 lines
Diff to previous 1.4 (colored)

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 1.4 / (download) - annotate - [select for diffs], Wed May 4 21:00:04 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 2 06:32:56 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.2: +149 -9 lines
Diff to previous 1.2 (colored)

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@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 27 07:25:26 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.1: +148 -7 lines
Diff to previous 1.1 (colored)

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@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 5 18:26:19 2011 UTC (13 years, 2 months ago) by claudio
Branch: MAIN

Move session related code into session.c.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.