Up to [local] / src / usr.sbin / iscsid
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 16 14:37:06 2021 UTC (3 years, 1 month ago) by claudio
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,
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,
HEAD
Changes since 1.21: +8 -1 lines
Diff to previous 1.21 (colored)
Implement a control message to get the state of iscsid. This is used by iscsictl to poll for completion after reload commands. With this slow session establishment should not cause mount errors during startup. Initial version from Dr Ashton Fagg ashton (at) fagg id au OK dlg@ deraadt@
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 27 07:21:54 2021 UTC (3 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
these programs (with common ancestry) had a -fno-common problem related to privsep_procid. ok mortimer
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 23 08:40:07 2017 UTC (7 years, 4 months ago) by benno
Branch: MAIN
CVS Tags: 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
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)
copy log.c/h from bgpd. ok claudio
Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 16 18:41:57 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)
stop including sys/param.h for nitems. define locally as needed. ok natano reyk
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 16 15:57:06 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)
move to <limits.h> where possible, annotate <sys/param.h> otherwise
Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 3 16:45:00 2014 UTC (9 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)
actually use macro argument instead of shadowed variable name
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 13 17:07:00 2014 UTC (9 years, 10 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.15: +8 -2 lines
Diff to previous 1.15 (colored)
Set KERN_PROC_NOBROADCASTKILL so that iscsid is not killed by init when terminating multi-user so that we have a chance to sync the file systems mounted via iscsi.
Revision 1.15 / (download) - annotate - [select for diffs], Sat May 10 11:30:47 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Mon Apr 21 18:00:23 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.13: +23 -4 lines
Diff to previous 1.13 (colored)
Start passing the initiator and target name in the show command.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 21 09:48:31 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.12: +11 -1 lines
Diff to previous 1.12 (colored)
Now that we properly negotiate the session params we can enable sending of immediate data for write commands. This gives a nice 20% performance boost on writes compared to the solicited data transaction we did before.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 20 22:18:04 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored)
Introduce some basic stats for the vscsi layer. Just counting the commands and the bytes we push through vscsi(4).
Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 20 12:22:16 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.10: +18 -19 lines
Diff to previous 1.10 (colored)
Cleanup a bit, switch on bcopy to memcpy and move a function a bit up
Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 7 19:55:46 2014 UTC (10 years, 2 months ago) by claudio
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)
To win the startup race on the control socket we need to listen to it as well only then the connect() call from iscsictl will not fail. Move listen() into the init function and rename control_listen() to control_event_init() since it is now only doing that.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 17 18:59:50 2014 UTC (10 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)
Call control_init() before daemon() so that iscsid && iscsictl reload works
Revision 1.8 / (download) - annotate - [select for diffs], Sat Aug 20 19:03:39 2011 UTC (12 years, 9 months ago) by sthen
Branch: MAIN
CVS Tags: 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
Changes since 1.7: +10 -4 lines
Diff to previous 1.7 (colored)
Add support for -v (enable verbose logging on the command line). Previously only available via iscsictl. ok claudio@
Revision 1.7 / (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_0_BASE,
OPENBSD_5_0
Changes since 1.6: +60 -1 lines
Diff to previous 1.6 (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.6 / (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.5: +27 -2 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Wed Apr 27 19:16:15 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.4: +13 -2 lines
Diff to previous 1.4 (colored)
Implement CTRL_LOG_VERBOSE to toggle log verbosity.
Revision 1.4 / (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.3: +3 -11 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sat Sep 25 16:20:06 2010 UTC (13 years, 8 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
spacing, no binary changes.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 25 11:57:22 2010 UTC (13 years, 8 months ago) by sobrado
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
use a consistent argument name in both synopsis and usage; argument name choosed with help from dlg@ ok claudio@
Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 24 09:43:19 2010 UTC (13 years, 8 months ago) by claudio
Branch: MAIN
iSCSI Initiatior daemon using vscsi(4). Currently implements the absolute minimum of the protocol to make it work against targets. Many things still in flux but we're annoyed to work outside of the tree. Commited from a source tree on an iSCSI disk served via iscsid but it is not yet production ready. OK dlg@, matthew@, deraadt@